A cylinder thermostat switches on & off the heat supply from the boiler to the hot-water cylinder. It works by sensing the temperature of the water inside the cylinder switching on the water heating when the temperature falls below the thermostat setting & switching it off once this set temperature has been reached