This document discusses energy flow and productivity in ecosystems. It explains that energy from the sun is captured by producers like plants through photosynthesis and is then transferred to consumers as they eat producers or other consumers. This energy transfer occurs across trophic levels in food chains and food webs. The document also describes how primary productivity is the rate at which producers capture energy from the sun and secondary productivity is the rate at which consumers produce new biomass by consuming other organisms. Ecological pyramids illustrate how biomass and numbers decrease at higher trophic levels due to energy losses at each transfer between levels.