Transverse waves are often demonstrated by moving a rope rapidly up and down.
In the diagram the rope moves up and down, producing peaks and troughs.
Energy is transferred from left to right at right angles to the hand movement.
However, none of the particles are transported along a transverse wave.
The particles move up and down as the wave is transmitted through the medium.
Examples of transverse waves include:
One way of remembering that an S type earthquake wave is a transverse is that an S looks like a transverse wave on its side.
Mechanical and electromagnetic waves
Electromagnetic waves cause oscillations in electrical and magnetic fields and can travel through a vacuum.