Oxygen and carbon dioxide remain nearly constant in the atmosphere by the processes of photosynthesis (in plants) and respiration (in animals), respectively. This released oxygen is consumed by animals by the process of respiration, in which they release carbon dioxide.