A hydraulic cylinder (also called a linear hydraulic motor) is a mechanical actuator that is used to give a unidirectional force through a unidirectional stroke. It has many applications, notably in construction equipment (engineering vehicles), manufacturing machinery, and civil engineering.
Pneumatic cylinders (sometimes known as air cylinders) are mechanical devices which use the power of compressed gas to produce a force in a reciprocating linear motion.
Like hydraulic cylinders, something forces a piston to move in the desired direction. The piston is a disc or cylinder, and the piston rod transfers the force it develops to the object to be moved. Engineers sometimes prefer to use pneumatics because they are quieter, cleaner, and do not require large amounts of space for fluid storage.