The solid rock of the earth's crust that lies under the soil and other unconsolidated earth materials.