Lithification is the process of transforming loose sediment into solid rock. This process includes compaction, in which the weight of the overlaying sediment compresses the bottom layers, and cementation, in which minerals precipitate from pore fluids and bind sediment grains together.
Lithification produces sedimentary rocks, which provide a record of past geological processes and environmental conditions.