Generally, 95-99% of magma is liquid rock. However, the small percentage of gas present, represents a very large volume when it expands on reaching atmospheric pressure. Gas is a preponderant part in a volcano system because it generates explosive eruptions. Magma in the mantle and lower crust have a lot of volatiles within and water and carbon dioxide are not the only volatiles that volcanoes release. Also they leak hydrogen sulfide and sulfur dioxide. Sulfur dioxide is usually possible to find in basaltic and rhyolite rocks. Volcanoes also release a high amount of hydrogen chloride and hydrogen fluoride as volatiles.