A thermostat is a device that controls the temperature of an environment by adjusting the degrees to maintain a preferred temperature range. It will turn on heating if the temperature becomes chilly, or start-up the air conditioning if it gets too warm. Thermostats control the mechanisms of heating and/or cooling systems by directing energy to the right system when needed.