The element which is in direct contact with the water heats the water to the set temperature on the thermostat.