A food chain is the flow of energy from producers (plants) to consumers (herbivores, carnivores) and decomposers.