A thermostat is a device that exerts control by switching heating or cooling devices on or off, or by regulating the flow of a heat transfer fluid as needed, to maintain the correct temperature.
Thermostat automatically regulates temperature, or that activates a device when the temperature reaches a certain point.