Dear student,
P waves are compressional or pressure waves.
They travel through all type of matter that is solid, liquid and gases.
They travel faster than S-waves.
They are longitudinal in nature.
S waves are the shear waves.
They travel only through solids and not through liquid and gases.
They travel slower than P waves.
They are transversal in nature.
Surface waves travel along the surface of the Earth.
They are also called as mechanical surface waves.
They travel slower than P and S waves.
Regards