As a result of photosynthesis and cellular respiration, gasses in the atmosphere