what causes an earthquake to occur?
Earthquakes are measured using seismometers. Earthquakes often occur in volcanic regions due to the flow of magma in volcanoes and are an early warning of volcanic eruptions. Geologists rate earthquakes based on their magnitude, which is the amount of energy released during the quake.