Answer:
When the piston is pulled up, air gets sucked into the pump through the inlet. The pump chamber depressurizes as it fills with air. When the piston is forced down, the air becomes compressed and closes the inlet. Then the air flows out from the outlet