The process in plants that regulates the level of oxygen and carbon dioxide in the atmosphere is called photosynthesis. During photosynthesis, plants use the energy from the sun to convert carbon dioxide and water into oxygen and glucose. The oxygen produced is released into the atmosphere, while the glucose produced is used by the plant for energy.