The usage of a bicycle pump can be explained by Boyle's Law. Let me illustrate it to you.
Sir, I'm curious,how does the bicycle pump fill the tire with air?
According to Boyle's Law, when we pull the handle of the bicycle pump, the volume inside the circle air pump cylinder increases with a sudden decrease in pressure. As a result, the piston draws air into the pump from the surrounding environment.
On the other hand, when we push the handle of a bicycle pump, the volume of the stored air decreases with an instant increase in pressure. As a result, the air extracted from the outer environment is pumped into the bicycle tire.
The process of extracting air and then pumping it back into the tire is repeated until the tire is completely filled.