The heat pump cycle

The energy transfer in heat pumps occurs via a chemical substance called ‘refrigerant’ that circulates through two heat exchangers in an evaporation and condensation cycle. 
During this cycle, heat is transferred from an indoor area to the outdoor air in cooling mode, thus cooling the area in question. 
Similarly, heat can be pumped from the outdoor air indoors and be used to heat indoor areas.

Heat pump