In photosynthesis, which substances are used up, which are produced and which are necessary, but remain unchanged after the reaction?

In photosynthesis, water and carbon dioxide are used as raw materials to produce glucose and release out oxygen. This process occurs in the presence of green pigment chlorophyll present in leaves of the plant, which remains unchanged after the reaction.

1