Photosynthesis is the name for the cumulative series of chemical reactions whereby autotrophs (plants) produce their own food. Photosynthesis allows plants to take carbon dioxide from the air and water from the soil and convert it into food in the form of carbohydrates using the energy obtained from sunlight. The carbohydrate produced is usually glucose with a chemical formula of C6H12O6. So the ultimate products of photosynthesis are glucose and molecular oxygen (O2). Importantly, the oxygen produced as a product of photosynthesis is used by animals to breathe and the carbon dioxide exhaled by animals is the raw material for photosynthesis.
C6H1206 + O2