What is a foreshock/aftershock?

The terms foreshock and aftershock have no strict scientific definition. They are used to describe the events within an earthquake sequence to distinguish those events that preceded the mainshock from those that followed it.