The compressor is responsible for circulating refrigerant through the fridge. If it's damaged or malfunctioning, it needs to be replaced for the fridge to cool properly.