Byproducts are chemicals that are released unintentionally in the production of something else. In this case, photosynthesis is a process where carbon dioxide is transformed into glucose. Glucose is what provides the energy for the plant to survive. Oxygen is also created as a result of photosynthesis, or in other words, oxygen is a byproduct produced during photosynthesis.
I hope this helps!