How are these gases formed