How Do Plants Produce Oxygen During Photosynthesis?

During photosynthesis, plants take in carbon dioxide and water, disassemble the molecules and convert them into sugar and oxygen. The water molecules are split into hydrogen and oxygen, and the hydrogen joins carbon dioxide to create sugars. The excess oxygen is released into the atmosphere during the respiration cycle.