What is the gas produced as a waste product of photosynthesis?

Oxygen the plant "breathes" in carbon Dioxide and "breathes" out Oxygen