Sound waves have two parts : compression and rarefaction . Compression is the part of the sound waves where the molecules of air are pushed ( compressed ) together . Sound is transmitted through gases , plasma , and liquids as longitudinal waves , also called compression waves .