Energy flows through ecosystems in one direction only: from the sun to producers (plants), then to herbivores, then to carnivores. Energy is lost as heat at each transfer and cannot cycle back, unlike nutrients which can be recycled through decomposition.