Photosynthesis by bacteria produced ____ as a waste product.

glucose

carbon dioxide

oxygen

all of these are produced by photosynthesis