Why is photosynthesis important for life on earth?