Which pair of compounds are both products of photosynthesis?

photosynthesis
water and glucose
carbon dioxide and glucose
water and carbon dioxide
oxygen and carbon dioxide