This document discusses ecosystems and energy flow between organisms. It begins by defining producers (autotrophs) which get energy from the sun through photosynthesis. Consumers (heterotrophs) depend on producers for nutrients and include herbivores, carnivores, scavengers, and decomposers. Energy and matter are transferred between trophic levels in food chains and food webs. Ecological pyramids illustrate how biomass, numbers, and energy decrease at higher trophic levels due to energy lost as heat. Cycles of water, carbon, nitrogen, and phosphorus allow these essential elements to be reused in ecosystems.