Earthquakes are caused by movements of tectonic plates underneath the Earth's surface along faults. Scientists use instruments like seismographs and magnetometers to detect and record earthquakes. While it is difficult to precisely predict earthquakes, some research has shown animals can sense them before they occur. Major earthquakes cause extensive damage by collapsing buildings and breaking gas pipes and power lines, which can lead to fires. Some of the most devastating earthquakes in recent history include those in Haiti in 2010, Chile in 2010, San Francisco in 1989, and Colombia in 1979.