Most of the oxygen on Earth comes from a process known as photosynthesis. Three essential components are necessary for photosynthesis. Carbon dioxide, sunlight, and a pigment known as chlorophyll. Plants photosynthesize to make carbohydrates, which provide them the energy to grow, flower, and make seeds.
Chlorophyll is responsible for giving plants their distinctive green color. It performs a very unique function. Chlorophyll traps sunlight and converts light energy to chemical energy. This powers the reaction of photosynthesis!
Carbon dioxide and water are the raw materials needed to make carbohydrates. Carbohydrates are large molecules made of carbon and hydrogen. Using the energy from sunlight, plants combine carbon dioxide and water. Combining the carbon dioxide and water means getting rid of the oxygen present. Life-giving oxygen, which is so important to us, is actually a waste product for plants!