Hydraulic jacks use a liquid to push against the piston to lift just about anything with virtually no effort. The process is derived from Pascal's Principle which state that the pressure is in a given enclosed container is the same in all of its points. Therefore, if you have two individual cylinders that are connected, if force is applied to the smaller cylinder it is going to have the same pressure as the larger cylinder has.
The trick comes from the larger cylinder, because it has more area,