A rotary pump is a type of positive displacement pump that moves fluids by trapping a fixed amount and forcing it into the discharge pipe. It is widely used for viscous fluids due to its ability to handle varying flow rates and pressures without causing turbulent flows.