Definition
Wave -: A wave is a disturbance or vibration that carries energy from one point to another
Mechanical Waves
Mechanical waves are waves that need a medium to travel ( air, water or solid )
There are 3 types of mechanical waves
Types Of Mechanical Waves
Traversal Waves
Longitude Waves
Surface Waves
Transversal Waves - Definition

Transversal waves is a wave that oscillates perpendicularly to the direction of the wave's advance
In simple worlds, the transverse wave is the vibration of particles of the medium perpendicular to the motion of waves
Functions Of Transversal Waves
One of the significant function of transverse wave is that it can carry energy with the motion of waves and the absence of the motion of medium
The transverse waves represent the motion of particles, their vibration and motion, the transverse waves carry energy from the vibration of the particles
Longitude Waves - Definition
waves in which the direction of propagation aligns with the direction of vibration of the medium
Longitude waves travel in the line of medium

As you can see the wave is travelling in the line of medium
Longitude waves occurs when there is a disturbance in the movement of the particle
As the source pushes forward, it compresses the particles in front of it. This region where particles are close together is called compression.