In some cases living by a volcano would be bad because of what it could cause. Living close to the vent of a volcano can be a dangerous hazard because the vent releases gases that could cause health problems. It is undetermined when a volcano will erupt. About 60 volcanoes are known to erupt each year. (Simkim and Siebert 59) You would want to be a safe distance away from a volcano if you lived by one. A good distance to live away from a volcano would be at least 18.6m away.
When a volcano erupts, it produces deposits of