The design is such that the aircraft can fly with gravity feed from the wing tanks.
The engine usually contains an engine driven low and high pressure fuel pump.
So, if all the wings pumps were to fail, you can still fly.