Mountains are formed by the movement of tectonic plates. When two plates collide, one plate may be forced to move beneath the other, a process called subduction. As the plate descends, it heats up and melts, forming magma. This magma rises to the surface and erupts, forming volcanoes. Over time, the volcanoes build up and form mountain ranges.