A rotary piston vacuum pump uses a rotating piston to draw in and compress gas, creating a vacuum within the system.