During photosynthesis, unused oxygen atoms form oxygen gas (O2) which is released as a waste product. How did these oxygen atoms originally enter the plant?