How did the introduction of photosynthesis change the atmospheric composition? Explain how photosynthesis caused this change.