A pump is a device used to move fluids, such as liquids, gases or slurries by displacing a volume by physical or mechanical action. Pumps fall into three major groups: direct lift, displacement, and gravity pumps. Their names describe the method for moving a fluid.
A positive displacement pump causes a fluid to move trapping a fixed amount of it then forcing (displacing) that trapped volume into the discharge pipe.
Some positive displacement pumps work using an expanding cavity on the suction side and a decreasing cavity on the discharge side. Liquid flows into the pump as the cavity on the suction side expands and the liquid flows out of the discharge as the cavity collapses. The volume is constant given each cycle of operation.
Gravity pumps include the syphon and Heron's fountain – and there also important qanat or foggara systems which simply use downhill flow to take water from far-underground aquifers in high areas to consumers at lower elevations. The hydraulic ram is also sometimes referred to as a gravity pump.