In longitudinal waves, the displacement of the medium is parallel to the propagation of the wave, and waves can be either straight or round. A wave along the length of a stretched Slinky toy, where the distance between coils increases and decreases, is a good visualization.
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 transverse wave is a moving wave that consists of oscillations occurring perpendicular (right angled) to the direction of energy transfer (or the propagation of the wave). If a transverse wave is moving in the positive x-direction, its oscillations are in up and down directions that lie in the y–z plane.