Primary photosynthesizers in terrestrial ecosystems