Oxygen makes up 21% of the atmosphere and is used by all living things through respiration and photosynthesis. During respiration, glucose and oxygen are used to produce energy, carbon dioxide, and water. In photosynthesis, plants use carbon dioxide, water, and sunlight to produce oxygen and glucose. This cycle of oxygen production and consumption between organisms through respiration and photosynthesis is essential for life.