Following diagenesis, in which sedimentary material is compressed and undergoes chemical changes, a phase in the formation of petroleum and natural gas during which continuing sedimentation and subsidence produce temperatures of 50–150 °C and kerogen is produced. Compare metagenesis.