In few hydraulic machines, hydraulic cylinder is used for creating motion. Pressure is created by the cylinder when oil is pushed into it. This pressure is exerted on a piston and it slides out. Such pistons are connected to an assembly of various devices including different types of levers. The different types of construction vehicles make use of pistons like these to create motion.