The pump may be mechanical worked by the engine - or it may be electric, in which case it is usually next to or even inside the fuel tank .
Keeping the petrol tank safe
For safety, the petrol tank is placed at the opposite end of the car from the engine.
Inside the tank, a float works an electrical sender unit that transmits current to the fuel gauge, signalling how much petrol is in the tank.
The tank has an air vent - usually a pipe or a small hole in the filler cap to allow air in as the tank empties. Some of the latest systems have a carbon filter , so that fuel fumes do not escape.
How a mechanical pump works
A mechanical fuel pump is driven by the camshaft , or by a special shaft driven by the crankshaft . As the shaft turns, a cam passes under a pivoted lever and forces it up at one end.
The other end of the lever, which is linked loosely to a rubber diaphragm forming the floor of a chamber in the pump, goes down and pulls the diaphragm with it.
When the lever pulls the diaphragm down, it creates suction that draws fuel along the fuel pipe into the pump through a one-way valve .
As the revolving cam turns further, so that it no longer presses on the lever, the lever is moved back by a return spring , relaxing its pull on the diaphragm.
The loosely linked lever does not push the diaphragm up, but there is a return spring that pushes against it.
The diaphragm can move up only by expelling petrol from the chamber. The petrol cannot go back through the first one-way valve, so it goes out through another one leading to the carburettor.
The carburettor admits petrol only as it needs it, through the needle valve in its float chamber.