When a volcano erupts it throws out a lot of ash. At short notice this ash can be very harmful to the environment, but on the long term the ash layer, which contains many useful minerals, will be converted to a very fertile soil. Nearly everywhere volcanoes are located people use the rich soil for farming.