How does volcanoes change the Earth's atmosphere?

it change the earth atmosphere when magma flashes out then the earth surface will be dusty