This article explains what an earthquake is, including the location of the hypocenter and epicenter, and the difference between foreshocks, mainshocks, and aftershocks.