Diagenesis refers to the physical, chemical, and biological processes that transform sediment into sedimentary rock after deposition. This includes changes that occur during the burial and lithification of sediments, such as compaction, cementation, and mineral alteration, which ultimately contribute to the rock formation process.