An AC compressor pressurizes refrigerant gas as part of the refrigeration cycle, which allows an air conditioning system to provide cool air. It takes low-pressure gas from the evaporator, compresses it to a high-pressure, high-temperature gas using pistons or rotors, and pumps this refrigerant to the condenser.