A refrigerator does not actually create cold, but only pumps the heat present in the refrigerator outside.
The following components are necessary for this: an evaporator, compressor, condenser, refrigerant gas and a capillary or expansion valve. You can see all the components in the drawing.
Essential in the process is evaporating the coolant in the evaporator. Heat is needed for this, which is extracted from the warmth in the unit. After that, the refrigerant gas is compressed and condensed into a liquid. This compression and condensation creates heat on the outside of the refrigerator. That is how the heat present in the refrigerator is pumped outside.
It is important that the heat exchange can occur unhindered both in the evaporator and the condenser.
There are multiple kinds of evaporators, namely silent or static evaporators and ventilated evaporators. For the last one, a fan causes extra and better air movement in the space. This ventilation causes an improved distribution of the cold, but also a little more dehydration on the surface of the products. Think of when you let laundry dry outside, which happens faster if there is some wind.
The condenser on the outside of the unit usually has a fan, which allows for the heat to be properly emitted.
So remember to place the refrigerator in the right spot and be sure to get advice from an expert. Your refrigeration technician is your best advisor, not Google.