The layer of granitic, sedimentary and metamorphic rocks which form the continents and the areas of shallow seabed close to their shores, known as continental shelves.