Hydraulic systems for example Trainers operate by Pascal's Law which states that if pressure is raised at any given point in a confined fluid, then there's an equal growth in pressure during the container.
Obviously, machines which use hydraulic systems are a little more complicated than this, but I expect you get the idea.
Image Source: Google
This entire means is that where strain is applied to a single stage, it's then moved to some other stage through some non-compressible fluid, so in the event that you have two pistons, one on each side, attached by a tube half full of water and you push on 1, another will rise.
Hydraulic systems should have no air bubbles inside them as an air bubble could be compacted thus disrupting how the system operates or perhaps causing total failure.
That is the reason why it's essential that appropriate hydraulic fluid is used because it has been specially formulated and is non-compressible so will make sure that the hydraulic system functions to its optimum.
Among the first hydraulic pumps was listed in the 3rd century BC in which a force pump had been assembled with a piston to push water through a pipe out the bilges of a ship. Contemporary shipping nevertheless uses bilge pumps but they're a little more advanced nowadays.
Hydraulic pumps have been used widely in several contemporary machines from aircraft to cranes to heavy plant machinery for example diggers. They are obviously a great deal more complicated than the originals and function under high pressure.