The chemical equation for cellular respiration is:
\[ \text{C}6\text{H}{12}\text{O}_6 + 6 \text{O}_2 \rightarrow 6 \text{CO}_2 + 6 \text{H}_2\text{O} + \text{energy} \]
Inhaled oxygen is used by the body to oxidize glucose, resulting in the production of carbon dioxide, water, and energy; thus, while the lungs take in oxygen for metabolism, they exhale a greater amount of carbon dioxide as a waste product of this energy-generating process, reflecting the conversion of oxygen into carbon dioxide during cellular respiration.