Every ecosystem runs on one ultimate power source: the Sun — the very engine the cyanobacteria first tapped back in Part 2. Producers (green plants, algae, and some bacteria) capture sunlight and turn it into living tissue through photosynthesis. Consumers can't make their own food, so they eat: herbivores eat producers, carnivores eat herbivores, each rung forming a trophic level. And when anything dies, decomposers — fungi and bacteria — break it down and return its nutrients to the soil.
A simple chain (grass → grasshopper → mouse → hawk) is really just one strand in a vast, tangled food web of who-eats-whom. And one rule governs the whole structure: energy is wildly expensive to pass along. Only about 10% of the energy at each level reaches the next; the rest is spent staying alive and lost as heat.
That's why ecologists draw ecosystems as a pyramid — broad at the bottom, narrow at the top — and why there's always far more grass than gazelles, and far more gazelles than lions. Crucially, energy flows one way only: in from the Sun, out as heat. It never loops back. But matter is a different story entirely.