Refrigerator works on the principle of the Carnot cycle.
The equation of the Carnot cycle can be written as: where is the Carnot efficiency, is the absolute temperature of the heat source, is the absolute temperature of the heat sink.
A Carnot cycle is defined as an ideal reversible closed thermodynamic cycle.
By reversing the Carnot cycle we can reverse the direction of heat or work interactions.
A refrigerator or a heat pump are similar devices.
They work on the principle of reversed Carnot cycle.