Which product of photosynthesis is mainly considered to be waste for plants, although some is used during respiration?

A. oxygen
B. carbon dioxide
C. glucose
D. energy