Your car's air conditioner cools and removes humidity from the air by running a gas (refrigerant) through a closed system via several parts: compressor, condenser, dryer, expansion valve, and evaporator.