A mechanical seal is simply a method of containing fluid within a vessel (typically pumps, mixers, etc.) where a rotating shaft passes through a stationary housing or occasionally, where the housing rotates around the shaft.
When sealing a centrifugal pump, the challenge is to allow a rotating shaft to enter the ‘wet’ area of the pump, without allowing large volumes of pressurized fluid to escape.