I’m so confused. Could someone explain this to me?

In photosynthesis, carbon dioxide, light energy, and water from the soil is used to create the plant's food, usually glucose. The waste product released is oxygen. I guess put oxygen for both boxes point out from the leaves.