Energy and chemicals cycle through the environment as producers like plants use photosynthesis to capture energy from the sun which is then consumed by herbivores and passed up the food chain with less energy at each trophic level until top carnivores. A plant-based diet is most sustainable for the environment since it requires fewer trophic levels than meat-based diets which use more resources and land.