This article explains the two main types of seismic waves, P waves and S waves, and how they cause the ground to shake