This document summarizes key concepts in ecology, including energy flow and nutrient cycling within ecosystems. It discusses how photosynthesis by autotrophs fixes energy from the sun, which is then transferred through food chains and webs to heterotrophs in a trophic pyramid. Most energy is lost at each transfer, limiting food chain length. Decomposition recycles nutrients, which are taken up by producers to continue ecosystem functioning.