Longitudinal versus Transverse Waves versus Surface Waves
One way to categorize waves is on the basis of the direction of movement of the individual particles of the medium relative to the direction which the waves travel. Categorizing waves on this basis leads to three notable categories: transverse waves, longitudinal waves, and surface waves.

Transverse wave is a wave in which particles of the medium move in a direction the same way to the direction which the wave moves. Suppose that a slinky is stretched out in a horizontal direction across the classroom and that a pulse is introduced into the slinky on the left end by vibrating the first coil up and down. Energy will begin to be transported through the slinky from left to right. As the energy is transported from left to right, the individual coils of the medium will be displaced upwards and downwards. In this case, the particles of the medium move perpendicular to the direction which the pulse moves. This type of wave is a transverse wave. Transverse waves are always characterized by particle motion being perpendicular to wave motion.

Longitude waves- are waves that have same direction of the same circle it’s going in or vibrations along or parallel to their direction of travel, which means that the direction of the medium is in the same direction or opposite direction as the motion of the wave.

What’s the difference of transverse and longitude waves?

A transverse wave
is the displacement of the medium is perpendicular to the direction of propagation of the wave.

A longitude waves is In longitudinal waves the displacement of the medium is parallel to the propagation of the wave.