During which process is oxygen gas released into the atmosphere?