A compressor consists of two components: the power source and the compressing mechanism (piston, vane, etc.). In the case of an air compressor, the compressing mechanism is in fact compressing the atmospheric air. The air compressor works in the following way: