The process that produces oxygen is the photosynthesis and when oxygen is released as the result of its production during photosynthesis, it is a by-product of splitting the water molecules. The reduction of oxygen which forms water occurs during respiration.