Earthquakes are caused by the sudden release of energy from the breaking of rocks due to the continuing adjustment of tectonic plates. The elastic rebound theory explains how stress builds in rocks until rupture occurs, releasing seismic waves. Earthquakes originate from a focus deep underground, and the point on the surface directly above is called the epicenter. Different types of seismic waves including P, S, R, and L waves are generated and cause damage. Earthquakes are most common around the Pacific Rim due to plate tectonic activity. Their magnitude is measured by the Richter scale, while intensity describes damage levels. Ground shaking is a major destructive effect, and although prediction efforts study precursors, earthquakes remain difficult to forecast.