It usually is used to control the flow of fuel to a burner, of electric current to a heating or cooling unit, or of a heated or cooled gas or liquid into the area it serves. The thermostat is also an element in some types of fire-detection warning systems.