The Earth's crust is divided into 12 major tectonic plates that are constantly moving due to convection currents in the underlying mantle. There are three main types of plate boundaries - divergent where plates move apart, convergent where they collide, and transform where they slide past each other. Plate tectonics explains global patterns of volcanic and earthquake activity which predominantly occur at plate boundaries as the plates interact, collide and subduct.