All volcanoes are different but in general they release gases such as water, carbon dioxide, sulphur dioxide, and a little nitrogen. Notice that these molecules are not the Nitrogen and Oxygen which are the majority of gases in the air today, however.
In fact, oxygen, which is what humans and other animals require to live, was not a part of the Earth's earliest atmosphere! Oxygen came into the atmosphere later.
This is page 6 of 10