Energy flows through ecosystems beginning with producers, usually plants that harness solar energy through photosynthesis. This energy is then transferred as producers are consumed by herbivores and other consumers, with less energy available at each subsequent trophic level. Scientists model this transfer of energy using food chains that show singular pathways and food webs that depict the complex network of feeding relationships in an ecosystem.