Moving heat, not making cold
A refrigerator never creates cold. It moves heat: a special fluid called a refrigerant circulates in a sealed loop, picking up heat from inside the cabinet and dumping it into the kitchen. The inside gets colder only because its heat keeps leaving.
The trick relies on two facts. A liquid absorbs heat as it evaporates, and a gas gives off heat when it is squeezed and condenses back into liquid. The fridge arranges for evaporation to happen inside the box and condensation outside it.
Four steps around the loop
First, cold liquid refrigerant flows through pipes inside the fridge and evaporates into a gas, soaking up heat from the food compartment. Then an electric compressor squeezes that gas, making it hot and high-pressure.
The hot gas runs through coils on the back or underside, where it releases its heat to the room and condenses into liquid. Finally it squirts through a narrow valve, its pressure and temperature plunge, and the cold liquid re-enters the cabinet to repeat the cycle.
Why the kitchen notices
Because the heat has to go somewhere, a fridge slightly warms the room it stands in — the heat from your food plus the heat from its own motor. Leaving the door open cannot cool the kitchen; it just makes the motor work harder and warm the room faster. In effect, the fridge heats the kitchen with energy taken from your groceries — plus its own running costs.
The same loop, run carefully, keeps a fridge near 4 degrees Celsius and a freezer near minus 18 — cold enough to slow bacteria dramatically, buying fresh food days of extra life.

