Tankless water heaters heat water directly without the use of a storage tank. When a hot water tap is turned on, cold water travels through a pipe into the unit. Either a gas burner or an electric element heats the water. As a result, tankless water heaters deliver a constant supply of hot water. Typically, tankless water heaters provide hot water at a rate of 2–5 gallons per minute.