The inlet and the outlet are used to direct the flow of air, while the piston is used to generate the flow of air. When the piston is pulled up, air gets sucked into the pump through the inlet. ... When the piston is forced down, the air becomes compressed and closes the inlet. Then the air flows out from the outlet.