Photosynthesis is the process by which producers convert energy from the Sun into chemical energy in the form of glucose. Explain why photosynthesis is so important for ecosystems.