The light-dependent reactions of photosynthesis release oxygen gas (O2) as a byproduct. During the process of photosynthesis, plants use sunlight to convert water (H2O) and carbon dioxide (CO2) into glucose (C6H12O6) and oxygen (O2). The oxygen produced as a result of the splitting of water molecules is released into the atmosphere.