A refrigerator is a common household appliance that consists of a thermally insulated
Thermal insulation
Thermal insulation is the reduction of the effects of the various processes of heat transfer between objects in thermal contact or in range of radiative influence. Heat transfer is the transfer of thermal energy between objects of differing temperature...

 compartment and a heat pump
Heat pump
A heat pump is a machine or device that effectively "moves" thermal energy from one location called the "source," which is at a lower temperature, to another location called the "sink" or "heat sink", which is at a higher temperature. An air conditioner is a particular type of heat pump, but the...

 (mechanical, electronic, or chemical) that transfers heat from the inside of the fridge to its external environment so that the inside of the fridge is cooled to a temperature below the ambient temperature of the room. Cooling is a popular food storage technique
Food preservation
Food preservation is the process of treating and handling food to stop or slow down spoilage and thus allow for longer storage....

 in developed countries and works by decreasing or even arresting the reproduction rate of bacteria.