A gasket is a mechanical seal which fills the space between two or more mating surfaces, generally to prevent leakage from or into the joined objects while under compression. Gaskets allow “less-than-perfect” mating surfaces on machine parts where they can fill irregularities.