When a plant takes in carbon dioxide from the atmosphere and receives adequate sunlight and water, chloroplasts in the plant's cells convert the reactants, water and carbon dioxide, into oxygen and glucose. Glucose is stored in the tissue of the plant for food and energy. In essence, this is the process of photosynthesis. Glucose is often stored in plants in the form of starch, which is composed of glucose molecules linked in long chains.
Hope this helps :)