Why gasket is used in engines?

Gaskets function as a seal where two separate engine parts meet. They provide a barrier that keeps unwanted liquids or gases from mixing inside your engine. If a gasket fails in the exhaust system, for example, you may see white smoke emerging from the tailpipe.