Plate tectonics refers to the theory that the Earth's crust is divided into plates that constantly move atop the mantle. The plates are composed of rigid tectonic plates that move relative to one another, riding on top of the hotter, softer mantle material. There are three main types of plate boundaries - divergent boundaries where new crust is generated; convergent boundaries where plates collide and one slides under the other; and transform boundaries where plates slide past one another. The movement of tectonic plates results in earthquakes and volcanic activity and has shaped the features of Earth's surface over millions of years.