An air conditioner works by drawing in hot air from your home or building, passing it through an evaporator coil where it is cooled, and then distributing the cooled air through a network of ducts and vents.