Thermostats are digital or mechanical temperature-regulating devices used to maintain a predetermined room, space or building temperature. By measuring the air temperature, thermostats can activate heating and cooling systems to ensure a comfortable indoor environment while also conserving energy usage. Modern thermostats are programmable, allowing users to control temperature settings in multiple rooms at once, set temperature limits and timers, and connect with compatible devices such as smart home hubs.