A thermostat is a device that regulates the heating and cooling system in your home. It is typically located in the living room or another main area of the house. The thermostat works by sensing the temperature in the room. It then turns on or off the heating or cooling system accordingly.