An aftershock is a smaller earthquake that occurs after a larger earthquake, in the same area and along the same fault line. It is caused by the adjustment of the Earth's crust after the main earthquake, and can continue for days, weeks, or even months after the initial earthquake.