Oxygen and carbon dioxide are gases that cycle out in the ecosystem. CARBON DIOXIDE is important to photosynthesis. ​