When a longitudinal wave propagates through a medium, the particle of the medium at the center of a compression moves in the direction of propagation and the particle at the center of a rarefaction moves in the opposite direction.