For no frost refrigerators, the side walls contain the refrigerator's condenser coils. These coils are \\"heat exchangers\\" - they cool down the hot refrigerant gas by condensing them back into liquid to start the refrigeration cycle all over again. This heat needs to come out somewhere, which is why you need 50mm of space at the sides of your fridge to ensure proper ventilation.