Heat pump compressors are often used in heat pump systems to help move the refrigerant through the system and to pressurize it. The compressed air helps to vaporize the refrigerant, which allows it to absorb heat from the outside air or ground. The air inside the building is then heated using this heat, which is subsequently transported there. https://www.partshnc.com/heat-pump-parts/compressor