When the filtration is running, the water circulates through the heating element (spiral) of the electric heater and returns heated to the pool.