Humans can handle only a limited range of temperature. So, it is important to maintain the temperature in a room…