In a car, the AC system works by cooling and dehumidifying the air before blowing it into the cabin.