Nitrogen and Oxygen react to form Nitrogen Oxides. These gasses irritate the lungs and cause acid rain.
The answer is the magnetosphere
Well, the cause of a volcanic eruption is when the lower crust melts. This leads to the formation of magma. The volcano is an opening through which the magma is discharged. The rock inside the earth melts. This magma is diffused upwards through the volcano. If magma reaches the top of the volcano, it behaviour depends on viscosity. So what happens before a volcanic eruption is that the lower crust melts, causing the formation of magma, which is released through the volcano. Hope i helped.