The hydraulic cylinder is a device that converts the pressure energy of a fluid, such as hydraulic oil, into a linear drive motion. A hydraulic cylinder consists of a cylinder tube in which a piston rod with piston moves back and forth.