Earthquakes are caused by the movement of tectonic plates underground. There are three types of waves produced by earthquakes: P-waves, which move through solid material; S-waves, which move perpendicular to the direction of the wave; and surface waves, which travel along the Earth's surface. Earthquakes are measured using seismographs, which record the direction and timing of the different waves, and scales like the Richter scale and Mercalli scale, which measure the intensity and effects of the earthquake. Major historical earthquakes include ones in Shansi, China in 1556 that killed 83,000 people and in Kolkata in 1737 that killed 300,000 people.