Aftershocks are smaller earthquakes that occur in the same region as a larger mainshock and can continue for days, months, or even years, gradually decreasing in frequency and magnitude. They are caused by the Earth's crust adjusting to the new stress distribution following the mainshock, and their occurrence is a natural part of the seismic process.