Effect of Photosynthesis on Biodiversity