which process is the gaseous by- products oxygen produce​