An air conditioner works by a series of processes. When the temperature in a room rises above the fixed point; the thermostat calls for the cooling of it.
The condenser is what cools the system down, and supplies refrigerant through a pipe to the coil. Warm air is then supplied from the environment through the duct system by the fan and passes through the coil. When the air passes through the coil, heat is then extracted and the humidity is condensed.
The cool air then circulates through the duct system, into your home until the set temperature is reached by the thermostat.