How Were Mountains Formed?

Mountains were formed in a few ways. One way is by eruptions of lava that forms layers on top of layers till it eventually becomes a mountain. Another way is when to plates in the Earths crust slam together causing an uplift in the crust. The last way is by glaciers.