Earthquake is a natural vibration of the earth's crust caused by the sudden slip of tectonic plates past one another or by volcanic or magmatic activity. There are different types of earthquakes including tectonic, volcanic, collapse, and explosions. Earthquakes can cause damage through effects like landslides, ground displacement, and liquefaction. Proper seismic design of structures aims to allow buildings to withstand earthquakes and minimize risks.