Green plants break down water (and carbon dioxide) during photosynthesis to produce oxygen and the simple sugars they require for energy.
Photosynthesis is described by this statement: carbon dioxide and water are turned into sugar and oxygen.