The micro-organisms decompose the decayed plants and animals to form carbon-rich compounds, to form fine-grained granular source rocks, which are then covered with layers of sedimentary rock. These new rocks pressurize the source rock, and due to the intense heat and pressure, the original organic material is converted into crude oil and natural gas.