Mechanical fuel pumps are generally mounted on the side of the engine, and work by drawing fuel out from the bottom of the tank using a suction process.
A diaphragm creates the suction, and a valve stops the fuel from flowing back into the tank once the pump has filled up.