In traverse waves the particles of the medium vibrate at right angles to the direction that the energy travels. This is where the name transverse comes from - it means 'across'. All of the electromagnetic waves, eg light, infrared, ultraviolet are transverse waves, as are water waves.
With sound waves, the energy travels along in the same direction as the particles vibrate. This type of wave is known as a longitudinal wave, so named because the energy travels along the direction of vibration of the particles.