Rotary-screw compressor

Principal view of the pumping action of a twin-screw pump with a six-lobe female screw and a five-lobe male screw. A compressor (as opposed to a pump) would be shaped the same way, except that the shape of the lobes would change along the length of the screw, so that the volume of the trapped pockets would get squeezed smaller as they get closer to the exhaust port.
Rotary-screw air compressor internal view

A rotary-screw compressor is a type of gas compressor, such as an air compressor, that uses a rotary-type positive-displacement mechanism. These compressors are common in industrial applications and replace more traditional piston compressors where larger volumes of compressed gas are needed, e.g. for large refrigeration cycles such as chillers, or for compressed air systems to operate air-driven tools such as jackhammers and impact wrenches. For smaller rotor sizes the inherent leakage in the rotors becomes much more significant, leading to this type of mechanism being less suitable for smaller compressors than piston compressors.

The screw compressor is identical to the screw pump except that the pockets of trapped material get progressively smaller along the screw, thus compressing the material held within the pockets. Thus the screw of a screw compressor is asymmetrical along its length, while a screw pump is symmetrical all the way.

The gas compression process of a rotary screw is a continuous sweeping motion, so there is very little pulsation or surging of flow, as occurs with piston compressors. This also allows screw compressors to be significantly quieter and produce much less vibration than piston compressors, even at large sizes, and produces some benefits in efficiency.