The function of hydraulic cylinder is to provide linear motion. It converts the fluid energy into mechanical energy (linear movement). Cylinders are broken down into two main categories: pneumatic and hydraulic. Pneumatic cylinders can be operated by several types of gases, however, compressed air is by far the most common. Hydraulic cylinders can be operated with a very large range of fluids. By far the most common is petroleum based hydraulic fluid. Fire-resistant fluids are also common, they may be synthetic, or water based.