How Fossil Fuels are Formed Organic Matter Accumulation Sediment Deposition Heat and Pressure It all begins with the accumulation of organic matter, such as dead plants and microorganisms, in ancient seas, swamps, and other environments. This organic material is primarily composed of carbon, hydrogen, and oxygen. Over time, layers of sediment, like mud, sand, and silt, accumulate on top of the organic material. The weight of these layers compresses the organic matter beneath. As more and more sediment accumulates, the temperature and pressure within the Earth's crust increase. This combination of heat and pressure is critical for the transformation of organic material into fossil fuels. Lignite Formation Peat Formation With further burial and compression, peat gradually transforms into lignite, which is a low-grade form of coal. Lignite still contains a significant amount of water and has a relatively low energy content. Initially, the organic material undergoes partial decomposition, forming peat, a precursor to fossil fuels. Peat is composed of waterlogged, partially decayed vegetation. Subbituminous and Bituminous Coal Formation As the burial depth and compression continue, lignite can further change into subbituminous and bituminous coal. These forms of coal have higher energy content and lower water content than lignite. Metamorphism and Anthracite Formation Under even greater heat and pressure, bituminous coal can transform into anthracite, the highest-grade coal. Anthracite is almost entirely composed of carbon and has the highest energy content among all coal types. Oil and Natural Gas Formation In some cases, when the organic matter is buried at the right depth and conditions, it can also transform into oil and natural gas. This occurs through a process known as "catagenesis" and "thermogenesis." Over millions of years, the organic material is chemically altered, breaking down into hydrocarbons like oil and gas.