What is an earthquake? What are the categories of earthquakes?