The waves in which the particles of medium oscillate to and fro from their mean position in the direction of propagation of waves are called longitudinal waves.
Examples:
(i) Sound waves in air.
(ii) The waves which travel along the spring (or slinky) when it is pushed and pulled at one end.