Read these statements on applying the laws of thermodynamics to an ecosystem.
I. An ecosystem needs a constant input of energy from outside to keep functioning.
II. Energy passes in one direction, from the sun to producers and then to consumers.
III. Producers, herbivores and carnivores all lose part of their energy as heat.
IV. Ecosystems are exempt from the second law, since organisms build ordered molecules.
V. Decomposers return the energy of dead animals to plants along with minerals, so energy is recycled.
How many statements are correct?