------ Respiration is the use of oxygen to produce energy. Oxygen, or , is also created as a by-product of photosynthesis during the light-dependent reactions. The photolysis, or breaking down of water, H2O, during photosynthesis, created oxygen as a by-product.