Compressor is a core poruct for air-conditioning system, like a role of heart for a human.
This works by the power compression and rotation of refrigerant.
This compresses the refrigerant of low-pressured gas and converts it to high pressure gas and sends to the condenser and performs a cooling feature by inhaling the refrigerant in the evaporator and evaporates it.