When the cylinder is compressed, air is pushed down the tube of the pump and then into the tire via the valve, which is forced open by the pressure of the air. When the handle is pulled up again, the valve shuts off automatically so that the air cannot escape from the tire, and new air is forced back into the cylinder so the process can be repeated. Some pumps have a gauge that shows the pressure of air that is forced into the tire.