The balanced equation for the generation of sugar from sunlight water and CO₂ is
6 CO₂ + 6 H₂O → C₆H₁₂O₆ + 6 O₂
carbon dioxide + water → sugar + oxygen
The process of photosynthesis occurs when the chlorophyll present in the leaves of plants absorb sunlight to make food in the presence of carbon dioxide (enters through the stomata of leaves) and water (absorbed from the roots). As a result of this reaction sugar and oxygen is formed. After that sugar is converted in to starch and oxygen is released into air.