A pump is a device that moves a fluid (liquid or gas), or sometimes slows it down by mechanical action,…