Photosynthesis and Earth's atmosphere