A rubber gasket is a mechanical seal made from rubber that fills the space between two or more surfaces to prevent leakage. In the context of composite roofing, rubber gaskets are essential for ensuring watertight seals, reducing the risk of leaks and enhancing the overall longevity of the roofing system.