Water (H2O) and carbon dioxide (CO2) are used in photosynthesis, and sugar and oxygen (O2) is made, using light energy.
Photosynthesis is described by this statement: carbon dioxide and water are turned into sugar and oxygen.