When the compressor is driven with prime mover, the piston moves in reciprocating motion in an enclosed cylinder. On the downward stroke, it sucks the gas through the suction valve. While on the upward stroke, it compresses the gas into lower volume and discharge the gas through the discharge valve.