The compressor flows the refrigerant throughout the cooling system. The system works by changing the pressure so that it moves from the high pressure side to the lower pressure side. The function of the compressor is to maintain the pressure and temperature difference in the system.