step: photosynthesis means producers / green plants convert from carbon dioxide and water and solar energy into sugars and food and oxygen for themselves & if a process converts something into something else then that something else is produced by that process & photosynthesis is a kind of chemical process
inference: sugars and oxygen are produced by photosynthesis