Volatiles released during volcanic eruptions or escaping from fumaroles (fumarole), previously dissolved in the magma. Water vapour (probably totally derived from non-magmatic subsurface waters or nearly so) is the dominant gas, amounting up to 90% of the total; other constituents are carbon dioxide, carbon monoxide, sulphur dioxide, hydrogen sulphide, sulphur trioxide.