Inside the piston is a spring-loaded plunger that seals up against a small ball bearing. This is where the pressure for the pump is determined. As the pump pushes fluid against the ball and plunger, the spring is forcing the plunger against the fluid, causing pressure to build up, similar to the way a spring holding a door shut causes you to exert more pressure to get through the door.