The purpose of the condenser which is a heat exchanger

Its purpose is to release to the environment the heat absorbed by the refrigerant in the evaporator.
Air-cooled condensers are the most commonly used in domestic refrigeration, air circulation can occur in two ways: by natural circulation and by forced circulation.