Seismograms come in handy for locating earthquakes too, and being able to see the P wave and the S wave is important. You learned how P & S waves each shake the ground in different ways as they travel through it. P waves are also faster than S waves, and this fact is what allows us to tell where an earthquake was. To understand how this works, let’s compare P and S waves to lightning and thunder. Light travels faster than sound, so during a thunderstorm you will first see the lightning and then you will hear the thunder. If you are close to the lightning, the thunder will boom right after the lightning, but if you are far away from the lightning, you can count several seconds before you hear the thunder. The further you are from the storm, the longer it will take between the lightning and the thunder.