Refrigerators being used nowadays, utilize a compressor and coolant as a working fluid for the transmission of the heat.
Thermal energy is absorbed and released as the coolant used goes through expansion and compression and its state changes from
liquid to vapor and vice-versa.