Organic matter is transformed into petroleum through a process of maturation over time. As Kerogen, the organic material in source rocks, is buried deeper underground under anaerobic conditions, it matures into various hydrocarbon molecules through the action of heat and microbes. This process converts Kerogen first into bitumen and eventually produces crude oil, wet gas, condensate, and thermogenic natural gas as the organic matter is subjected to greater depths and higher temperatures. Source rocks containing the organic matter that forms petroleum can be of either terrestrial or marine origin.