A pump is used in chemical engineering to move fluids through pipes and systems, maintaining flow rates and pressure for various processes.