The A/C evaporator temperature sensor (or freeze switch) is a thermistor mounted directly on or inside the evaporator core. It monitors the core temperature. If the temperature drops close to freezing (32F), the sensor sends a signal to the engine computer to cycle off the compressor clutch. This prevents moisture on the fins from freezing into a solid block of ice.
If this sensor fails, the compressor might run constantly, causing the evaporator to freeze over. When this happens, ice will block all airflow through the cabin vents. Alternatively, a failed sensor can prevent the compressor from turning on at all.