P waves are the waves produced by Earthquakes that can travel through liquid and solid matter, this is because of their characteristics, and they are often the ones that are more detected in the seismographs because of that ability to travel across liquids and solids, the P waves are the responsibles for the back and forth movement of the surface of the earth when earthquakes happen.