The inputs (substrates) are carbon dioxide and water, plus energy from light.
The outputs (products) are sugar and oxygen.
Note the intermediate molecules ATP and NADPH serve to store energy harvested in "photo" reactions to be used by "synthesis" reactions.