Longitudinal waves are waves in which the displacement of the medium is in the same direction as, or the opposite direction to, the direction of propagation of the wave. Mechanical longitudinal waves are also called compressional or compression waves, because they produce compression and rarefaction when traveling through a medium, and pressure waves, because they produce increases and decreases in pressure.
In physics, a surface wave is a mechanical wave that propagates along the interface between differing media. A common example is gravity waves along the surface of liquids, such as ocean waves. Gravity waves can also occur within liquids, at the interface between two fluids with different densities.
A mechanical wave is a wave that is an oscillation of matter and is responsible for transfer of energy through a medium. Explore on transverse and longitudinal waves @Byju's. A mechanical wave is a wave that is an oscillation of matter and is responsible for transfer of energy through a medium.