An air conditioner absorbs heat from inside a building and rejects it outside the building.  The condenser coil (the hot coil) has the work of rejecting heat outside the building. If this coil is dirty it is less effective at transferring this heat to the air because dirt, leaves, or other crud can block airflow through the fins.