Up to 80% of the earth's crust is comprised of sedimentary (layered) rock. Sedimentary rocks usually contain fossils. Sedimentary rock is formed by the action of water, sorting, transporting and distributing loose material such as sand, mud, shells, plants, etc.