Sedimentary rocks are the most common rock types which are freely exposed on the earth s surface They are formed from other rock materials since they are made up from the buildup of weathered and eroded preexisting rocks The weathering erosion and the eventual compaction of igneous metamorphic or formerly structured sedimentary rocks among other biological sedimentations leads