This document outlines the flow of energy through an ecosystem, with the sun providing energy to producers like trees, which are then consumed by primary consumers, who are eaten by secondary consumers, and finally top predators at the top of the food chain, with all organisms ultimately being decomposed by detritivores when they die.