The process of photosynthesis is commonly written as: 6CO2 + 6H2O → C6H12O6 + 6O2. This means that the reactants, six carbon dioxide molecules and six water molecules, are converted by light energy captured by chlorophyll (implied by the arrow) into a sugar molecule and six oxygen molecules, the products. The sugar is used by the organism, and the oxygen is released as a by-product.