What is the gas that is produced in photosynthesis, and where does it come from?