The condenser conducts heat from compressed refrigerant gas to the ambient air.
This condenses the refrigerant gas to fluid.