Early investigators thought the oxygen produced by photosynthetic plants came from carbon dioxide. In fact, it comes from water. The water plays an important role in the production of oxygen. The oxygen that we are breathing comes from water. In the process of photosynthesis, water would be split into oxygen, hydrogen ions and electrons. The oxygen product would then be released by the plants.