Mechanical seals prevent leakage in equipment with moving parts such as mixers and pumps. It is devised to contain liquid or gas in applications where a rotating shaft goes through a stationary housing – or less commonly where the shaft is stationary, and the housing rotates around it.