The oil pump lubricates the running engine by supplying oil to the engine. This lubrication prevents the metal parts of the engine from contacting each other. The oil pump also absorbs heat from engine components when the engine is running.