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.
The mechanical seal itself is the interface between the static and rotary portions of the seal.