... that yields glucose as the product the plant needs and oxygen as a waste product that is released into the environment. In green plants and algae, the pigment ...