P waves can travel through liquid and solids to gas while S waves only travel through solid. These helps us to determine if there is an earthquake occuringthe scientist can know it by using the seismometer