Sound waves are longitudinal waves that can travel through any medium (solids, liquids, gases) with a speed that depends on the properties of the medium. As sound travels through a medium, the particles of the medium vibrate along the direction of propagation of the wave.
This displacement involves the longitudinal displacements of the individual molecules from their mean positions. This results in a series of high and low pressure regions called compressions and rarefactions.
