Photosynthesis is this:
carbon dioxide + water ------> glucose + oxygen
Glucose and oxygen are the products of photosynthesis where glucose is used for energy, and excess is stored as starch for later use, while oxygen is a waste product for plants and is released through gas exchange.
So the answer would be A.