A foot valve works as a one way valve, that allows water to be sucked through the valve with a pump and when the water flow stops the seal stops the backflow of the water.
The foot valve has a strainer on the outside which prevents obstructions and a check valve that closes when pump stops pumping.