During photosynthesis, chlorophyll absorb light energy that is used to convert carbon dioxide from the air and water from the soil into glucose. Oxygen is released as a by-product. Some glucose is used for respiration, while some is converted into insoluble starch.