Picture a swamp three hundred million years ago, in the stretch of deep time geologists call the Carboniferous. A giant clubmoss tree, tall as a six-story building, topples into the muck and just… lies there. It doesn't rot. The next one falls on top of it. And the next. For tens of millions of years, dead wood piles up across the planet faster than anything can break it down. We literally walk on the leftovers — that buried, un-rotted wood is a big part of where our coal came from. The Carboniferous is named for it. Carbon. The age of un-rotted carbon.
So here's the question that whole strange chapter of Earth's history quietly raises: what changed? Why does wood rot today, when for an enormous stretch of the past it mostly didn't? The answer is the unsung job at the center of this section — decomposition — and the kingdom that finally cracked the hardest part of it.
To see why this is a hard problem, you have to look at what wood actually is. A tree trunk is mostly two materials braided together. There's cellulose — long sugar chains, the stuff plenty of microbes can eat. And then there's lignin. Lignin is the molecule that makes wood wood — stiff, waterproof, the structural glue that lets a tree stand a hundred feet tall without folding over./24:_Fungi/24.02:_Ecology_of_Fungi/24.2A:_Fungi_Habitat_Decomposition_and_Recycling) And lignin is a nightmare to break down. It's not a tidy repeating chain you can snip with one tool. It's a chaotic, irregular three-dimensional tangle, almost deliberately built to resist being taken apart. For most of life on Earth, lignin is a locked vault. The energy and the carbon inside it just sit there.
Here's the move that matters. Fungi are the kingdom that learned to pick that lock — and the reason traces straight back to the body plan this whole course is built on./24:_Fungi/24.02:_Ecology_of_Fungi/24.2A:_Fungi_Habitat_Decomposition_and_Recycling) Remember the central trick of being a fungus: external digestion. A fungus doesn't swallow its food and break it down inside a stomach. It can't. It grows its thread-like body, its hyphae, directly into the wood and then secretes enzymes outward, dissolving the material in place, and drinks back the freed-up sugars. That outside-in design turns out to be perfect for an unchewable, insoluble, locked-up substance like lignin. You can't eat a fortress. But you can move into it and slowly dissolve the walls from the inside.
And fungi evolved a genuinely special tool for the job — a class of enzymes called lignin peroxidases. Think of them less like scissors and more like a controlled chemical fire. Instead of neatly cutting lignin at known joints, these enzymes generate reactive molecules that attack the tangle almost at random, oxidizing it, breaking bonds wherever they land until the whole structure crumbles. It's brute-force chemistry. Certain fungi — the ones that cause what's called white rot, because they bleach wood pale as they strip the dark lignin out — are the main organisms on the planet that do this efficiently. Not bacteria. Not animals. Fungi. When the review of fungal ecology published in 2015 in the journal of the American Society for Microbiology lays out which traits separate the great decomposers from the rest of the kingdom, lignin peroxidases sit right at the top of the list, alongside the enzymes that chew cellulose. And those traits, the authors found, cluster together — the fungi that can break lignin tend to be the same free-living, filamentous, thread-bodied fungi, not the single-celled yeasts.
There's a tidy theory that this exact innovation is what ended the great coal-making age — that once fungi evolved the enzymes to digest lignin, dead wood stopped piling up. It's a lovely story, and you'll hear it told as settled fact. Stay honest with it: the timing is genuinely debated, and other scientists argue the coal buildup had more to do with the specific swampy, oxygen-poor conditions of those Carboniferous basins than with fungi being late to the party. The evidence isn't clean enough to crown one cause. But strip the controversy away and the core point survives intact — today, the reason a fallen log doesn't last forever is overwhelmingly fungal. That much isn't in dispute.
So let's name the through-line, because it's easy to lose in the chemistry. Decomposition isn't decay in the gloomy sense. It's the planet's recycling system, and it's doing something an ecosystem cannot live without. Picture a forest where nothing rots — and for once you don't have to imagine it, because the Carboniferous already ran the experiment. Every nutrient a tree pulled out of the soil to build itself — the nitrogen, the phosphorus, the locked-up carbon — would be trapped inside its corpse forever. The soil would slowly go bankrupt. New growth would starve in a graveyard of its own ancestors. What rot actually does is unlock that vault and hand the contents back. A fungus digesting a dead log isn't just feeding itself. It's releasing nitrogen and phosphorus back into the soil in forms the next generation of plants can actually use. Ecologists have a flat, bureaucratic name for this — an ecosystem service — which badly undersells it. This is the engine. Nothing grows in a forest that didn't first pass through something that died and got broken back down.
That nutrient-recycling job is the part scientists have understood for a long time. Here's where it gets stranger, and where the stakes climb from the forest floor up to the whole planet's climate. Fungi don't just play one role in the carbon cycle. They play two opposite ones at the same time.
On one side, when a fungus decomposes a log, it burns the carbon for energy and breathes out carbon dioxide — the same gas you exhale, the same gas warming the atmosphere. Decomposers, in that sense, are carbon releasers. They take carbon that a tree had pulled out of the air and locked into wood, and they put a chunk of it right back into the sky. But on the other side, fungi also build their own tough, complex compounds — molecules so chemically stubborn that other microbes can't easily break them down. Those fungal leftovers settle into the soil and stay there. For years. For decades. Sometimes far longer. So some fungi are quietly locking carbon away, deep in the dirt, keeping it out of the atmosphere.
This is the part that trips people up, so sit with it for a second. The same kingdom both releases carbon and stores it. And the 2015 American Society for Microbiology review draws this distinction sharply, because it lines up with two different fungal lifestyles you can actually read in their genomes. The authors synthesized one hundred fifty-seven complete fungal genomes — the full genetic instruction sets — and found the kingdom splits into two functional camps. There are the decomposers: the filamentous, lignin-cracking fungi that pull carbon out of the soil and release it. And there are what they call the stress tolerators — fungi, more often yeasts, loaded with genes for surviving cold, drought, and salt, the ones that tend to make those recalcitrant, hard-to-break compounds that pile up as stored soil carbon. Decomposers draw the bank account down. Stress tolerators leave deposits in it.
Why should you care which camp is winning in any patch of ground? Because — and here's the unsettling implication the same review spells out — the balance between those two camps can shift with the climate, and the shift can feed back on the climate itself. Warming and drought change which fungi thrive. Push an ecosystem toward more aggressive decomposers, and the soil could start releasing more of its stored carbon into the air, which warms things further. Soil holds more carbon than all the world's plants and the atmosphere combined. A microbial kingdom most people never think about is sitting on the switch. So if someone asked you the cleanest reason fungi belong in any serious conversation about climate — what would you say? … It's that the planet's largest carbon store isn't governed only by smokestacks and forests. It's governed, in part, by which threads are growing in the dirt.
A quick gut-check before the close, because there's a tempting overstatement to dodge here. None of this means fungi are the only recyclers, or that they handle everything alone. Bacteria do enormous amounts of decomposition, especially on softer, sugary, easy material. Insects, worms, and weather all break things down too. The honest, specific claim — the one the evidence actually supports — is narrower and more interesting: for the single toughest material in the whole organic world, lignin, fungi are the premier specialists, and few other organisms come close. Give them their real title, not an inflated one. Champion lignin-cracker of the biosphere. That's enough.
There's one more place this lives, and it's a lot closer than an Oregon forest or a Carboniferous swamp. It's in your backyard. A compost heap is just this entire process, sped up and fenced in. The reason your vegetable scraps and dead leaves and coffee grounds collapse into dark, crumbly soil is that filamentous fungi and bacteria are doing exactly what they do on the forest floor — secreting enzymes outward, dissolving the dead in place, drinking back the freed nutrients, and handing you, at the end, a fresh deposit of usable life./24:_Fungi/24.02:_Ecology_of_Fungi/24.2A:_Fungi_Habitat_Decomposition_and_Recycling) The technical name for this lifestyle, feeding on dead organic matter, is saprotrophic nutrition. It's the quiet engine running underneath every forest, every field, and every garden — including yours.
Strip all the chemistry away and three things are doing the real work here. Fungi alone reliably unlock lignin, the one molecule that nearly nothing else can break — and they do it with the same outside-in digestion the whole course is built on. Decomposition isn't gloomy decay but the recycling that hands a dead forest's nutrients back to the living one. And the same kingdom both releases carbon and stores it, which means a hidden microbial tug-of-war helps set the thermostat for the entire planet.
So the question this section has been circling is the one that runs through the whole course: how does something invisible end up running the world? Here, the answer is that nothing in a living system gets to be permanent — and fungi are what enforce that rule. But breaking down the dead is only half of what they do underground. The other half is feeding the living, plant by plant, root by root — and almost no plant on Earth manages without them.