Photosynthesis can be divided into two stages:

  1. "photo" reactions

  2. "synthesis" reactions (Calvin Cycle)

The inputs (reactants) are carbon dioxide and water, plus energy from the 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.