Mountains are formed through a variety of geological processes over millions of years. One common way is through the movement of tectonic plates. When two plates collide, the crust crumples and pushes upward, forming mountains. Another way mountains are formed is through volcanic activity, where magma rises to the surface and solidifies into rock, creating volcanic mountains. Additionally, erosion and weathering can also contribute to the formation of mountains over time.