How does the carbon stored in the bodies of living organisms move into rocks?

i just need one simple question

1 answer

Carbon stored in the bodies of living organisms moves into rocks primarily through the process of sedimentation. When organisms die, their remains can be buried by sediments over time. As layers accumulate, heat and pressure transform the organic material into fossil fuels (like coal and oil) or contribute to the formation of carbonate rocks (like limestone) through processes involving mineralization. This burial and transformation process locks carbon away in geological formations.