Piston compressors operate on a basic principle: They use a piston to move the air inside a cylinder and compress it. Most of them use two cylinders, one for low pressure and the other for high pressure. However, small-sized piston compressors have only one cylinder, making them perfect for workshop applications.