The word equation for photosynthesis is: Carbon dioxide + water + light energy → glucose + oxygen. This means that plants use carbon dioxide and water, with the help of light energy, to produce glucose (a sugar) and oxygen gas as a byproduct