An ecosystem is defined as a community of living organisms interacting with each other and their non-living environment. It consists of various components like food chains, trophic levels, and food webs. Food chains show the transfer of energy and matter between organisms through predation. Each step in the food chain is called a trophic level. A food web depicts all the feeding relationships in an ecosystem. Solar energy is the ultimate source of energy, which is captured by plants through photosynthesis and transferred between trophic levels, with typically 10% of energy being transferred between each level. Certain chemicals can accumulate up the food chain through biomagnification.