Piston-type: air compressors use this principle by pumping air into an air chamber through the use of the constant motion of pistons. They use one-way valves to guide air into a cylinder chamber, where the air is compressed. Rotary screw compressors: use positive-displacement compression by matching two helical screws that, when turned, guide air into a chamber, whose volume is decreased as the screws turn.