How does a window air conditioner work?
Window air conditioners work on exactly the same principles as a refrigerator or dehumidifier. They have a cooling system that refrigerates the air entering the unit. The moisture in the air condenses on the cold coils and drips into the bottom tray of the air conditioner. The warm air in the room is drawn over the evaporator coil, which collect heat. The heat is conducted into a refrigerant gas. The gas is then circulated to the condensing coils on the back of the unit where it is dissipated to the outside. For more info see the section How things Work.