When running an air conditioner, some moisture is naturally removed from the air during the cooling cycle.
When you turn on your AC unit, it draws warm air from inside your home into its system through a vent. Inside the unit, the air encounters evaporator coils that are chilled by a refrigerant. As the warm air passes over these cold coils, the temperature difference causes the moisture in the air to transform into water droplets, just like how droplets form on a cold glass on a hot day.
These condensed water droplets then gather in a drip pan or drain and are directed outside your home through a drain pipe or released as water vapor. After the moisture is removed, the air becomes cooler and less humid, and it is then circulated back into your home.