The internal expansion of the metallic strips in mechanical thermostats allows them to regulate heat. The heating is activated by this strip of wire connected to the circuit. The metal expands when the strip heats up, shutting off the heater and cooling the area.