The outer layer or crust of the Earth consists of about a dozen large, irregularly shaped plates that slide over, under, and past each other on top of the partly molten inner layer.
Most earthquakes occur at the boundaries where the plates meet. In fact, the locations of earthquakes and the kinds of ruptures they produce help scientists define the plate boundaries.