In a hydraulic press, a small force applied to a small piston (input) creates pressure in the fluid. This pressure is transmitted to a larger piston (output), where it exerts a larger force due to the larger area. This allows a relatively small input force to produce a large output force.