All fossil fuels—coal, oil, and natural gas—are made from the remains of once-living organisms, so the honest answer is that the organic part of fossil fuels comes entirely from life, while the mineral portion (the rock, sand, or water mixed in with it) does not. The confusion in the search phrase usually comes from two directions: people want to know whether fossil fuels are "made of" dead plants and animals in a literal sense, and they want to know which living things—plants, animals, plankton, dinosaurs?—actually contributed. Both questions have solid answers, but the popular picture (especially the dinosaur one) is mostly wrong.

The Short Answer

Fossil fuels are the altered remains of ancient living matter. Coal is concentrated plant material from swamp forests. Oil and natural gas are mostly the remains of microscopic marine organisms—plankton, especially algae and bacteria—that settled on the seafloor and were buried. The carbon and hydrogen that make these fuels burn come from organic molecules that were once part of living cells: carbohydrates, lipids, proteins, and the recalcitrant structural materials plants build, such as lignin and cellulose.

The nonliving fraction matters too. Crude oil as pumped from the ground is a mixture of hydrocarbons plus sulfur, nitrogen, oxygen compounds, and traces of metals; coal is an organic-rich rock containing mineral ash. Those mineral and metallic components were never alive. But the energy-storing, burnable part—the hydrocarbon skeleton—is biological in origin.

Coal: Mostly Plants, and Mostly from One Geologic Era

Coal formed chiefly during the Carboniferous and Permian periods, roughly 360 to 250 million years ago, when vast lowland swamps covered parts of what is now Europe, North America, and Asia. Giant lycopsids (scale trees), horsetails, ferns, and early seed plants grew densely, died, and fell into waterlogged ground where low oxygen slowed decay. Layer upon layer of peat accumulated. Buried under sediments, heated and compressed over millions of years, peat progressed through lignite and bituminous coal to anthracite.

The evidence for the plant origin is direct and visible. Coal seams often contain fossilized leaves, stems, spores, and even entire tree trunks preserved as "coal balls." Under the microscope, coal shows the remains of plant cell walls and woody tissue. Geochemists can trace chemical signatures—such as the ratio of stable carbon isotopes and the presence of specific biomarkers like lignin-derived compounds—back to land plants.

Coal is not made of dinosaurs. It is overwhelmingly plant material, with only trace contributions from animals.

Oil and Natural Gas: Microscopic Marine Life

Petroleum and natural gas are different. Their source rocks are marine shales and limestones deposited in ancient seas, and the organic matter in them is dominated by plankton: single-celled algae (phytoplankton) and bacteria, along with the remains of tiny animals (zooplankton) and, in smaller amounts, higher plants washed in from land. This material settled as "marine snow" onto oxygen-poor seafloor, where it escaped complete decomposition and was incorporated into mud.

As burial deepened, heat and pressure "cooked" this organic matter—a process called thermal maturation—converting lipids and other compounds into hydrocarbons. The result is kerogen, a solid waxy organic material, which at higher temperatures breaks down into liquid oil and then gaseous natural gas. Because oil and gas are fluids, they migrate out of the source rock and accumulate in porous reservoir rocks capped by impermeable layers.

The chemical fingerprints confirm the biological origin. Petroleum contains porphyrins—ring structures derived from chlorophyll—and other biomarkers (hopanes, steranes) whose molecular shapes are specific to particular classes of organisms. The carbon isotope ratios in oil and gas match those of organic matter, not of inorganic carbon in rocks.

So the "part of fossil fuels from living things" in the case of oil is, in effect, the microscopic plankton of ancient oceans, not the dinosaurs that fossil-fuel advertising sometimes implies.

Why "Fossil" Is a Slightly Misleading Word

The term "fossil fuel" suggests fuels made from fossils—skeletons and shells. That is not quite right. The organic matter that becomes fuel is mostly soft tissue and cellular material that decayed into a chemically transformed residue. Hard parts like shells and bones are mineral (calcium carbonate, calcium phosphate) and contribute little to the burnable hydrocarbons; they mostly end up as the mineral ash in coal or dissolve away.

What "fossil" gets right is the timescale: these fuels formed over tens to hundreds of millions of years from organisms that lived long ago. They are a store of ancient solar energy, captured by photosynthesis in plants and plankton, passed through food chains, and buried before it could be fully recycled.

The Living-Things Chain in Plain Terms

The path from life to fuel runs through photosynthesis. Plants and algae use sunlight to convert carbon dioxide and water into organic molecules. Animals eat those organisms and build their own tissues, but the carbon and energy originate with photosynthesis (with a small contribution from chemosynthesis in some environments). When organisms die and are buried in oxygen-poor conditions, their organic carbon is preserved instead of being respired back to CO₂.

Over geologic time, burial, heat, and pressure rearrange those organic molecules into the simpler hydrocarbon structures that make up coal, oil, and gas. Burning the fuel reverses the process: the carbon recombines with oxygen and returns to the atmosphere as CO₂, releasing the stored solar energy as heat.

Fuel Dominant source organisms Typical age of formation What the hydrocarbons came from
Coal Land plants (scale trees, ferns, early seed plants) ~360–250 million years ago (Carboniferous–Permian) Lignin, cellulose, and other plant tissue
Oil Marine plankton (algae, bacteria, some zooplankton) Mostly ~200–60 million years ago Lipids and other cell material of microorganisms
Natural gas Marine plankton, plus some land-plant material Similar to oil, often deeper/hotter Same organic matter, cracked further into gas

Ages above are broad ranges, not precise dates; coal also formed in other periods, and some oil and gas source rocks are older or younger. The pattern, not the exact numbers, is what matters.

What Is Not the Organic Part

Three clarifications prevent common errors:

First, the carbon in fossil fuels is not "new" carbon. It is ancient carbon that was removed from the atmosphere and biosphere long ago and stored underground. Burning it returns that carbon to the atmosphere quickly.

Second, the mineral matter in coal (ash) and the sulfur and metals in oil are not from living things in the same sense; sulfur can come from both organic and inorganic sources, and metals are largely geological. These are the parts of fossil fuels that are not biological in origin.

Third, "fossil fuels come from living things" does not mean the fuel is the organism. The organisms were chemically transformed. You cannot recover a recognizable plant or animal from a barrel of oil; you can only recover molecular signatures and isotope ratios that point back to life.

Why the Distinction Matters

The biological origin explains why fossil fuels are energy-dense: they are concentrated stores of photosynthetic energy. It also explains why they are finite on human timescales—the formation process takes millions of years, far longer than the rate at which we burn them. And it explains the carbon cycle logic behind concerns about climate change: fossil carbon that was safely buried is being moved back into the atmosphere.

For readers interested in ecology and species conservation, the connection is also historical: the same ancient swamp and ocean environments that produced fossil fuels were once rich habitats. Understanding which organisms contributed makes clear that fossil fuels are, at bottom, a geological archive of past life—and that the living world's energy ultimately runs on sunlight, not on buried remains.

The short version: the burnable, organic part of every fossil fuel came from living things—plants for coal, microscopic marine life for oil and gas. The rock, ash, water, and mineral traces mixed in did not.