The gasket sits between flat, mating surfaces. The gasket material's flexibility allows the gasket to fill the areas between the surfaces that do not match perfectly.