What would happen if oxygen was not produced during photosynthesis?