What is biological importance of photosynthesis for an ecosystem