A gasket is a mechanical seal that fills the space between two mating surfaces, typically to prevent leakage from or into the joined objects while under compression. Gaskets are commonly used in piping systems, machinery, engines, and other mechanical equipment to create a tight and reliable seal between two surfaces, such as flanges or mating parts. They can be made from a variety of materials, including rubber, cork, silicone, metal, and various composite materials, depending on the application requirements such as temperature, pressure, and chemical compatibility.