P waves are longitudinal, and compress and expand the ground like an accordion. Particles move in the same direction as the wave. P waves are the fastest and can travel through solids and liquids. S waves are transverse waves and cause the particles in the materials they pass through to vibrate at right angles to the direction the wave moves. They give the look of moving in shape of an S.