As the air passes the sensor, it reads the temperature and compares that reading to the setting on your thermostat.