By product of photosynthesis is:

Oxygen

Carbon dioxide

Nitrogen

None of these