Rocks on the earth's surface break up into various sizes and fragments, and are deposited by different exogenous agencies. These deposits through compaction turn into rocks. This process is called lithification. Sedimentary rocks undergo the process of lithification.