In photosynthesis, energy from sunlight is used to rearrange the atoms in carbon dioxide and water to make a sugar called glucose. What other substance is produced by photosynthesis?

is it water
ozone
carbon dioxide or
carbon monoxide