So the p wave and the s wave, and the different phases that move out from the site of rupture in the earth, are used by seismologists to locate the event.
But sound is the other kind of wave: it’s a longitudinal wave, meaning that the wave’s back-and-forth motion happens in the same direction in which the wave travels.
Eventually, new experiments and ideas about light kept popping up — like that it's a transverse wave instead of a longitudinal wave like sound, and that it's a form of electromagnetic radiation.