Gaskets seal a connection between two components or flanges that have flat surfaces, while seals are used between engine parts, pumps, and shafts that rotate. Gaskets are used wherever a union or flange is required to prevent leaking. Gaskets are most commonly used as static seals.