A transverse wave is a wave where the direction of vibration is perpendicular (90 degrees) to the direction of travel (an example would be a wave in the sea), and a longitudinal wave is a wave where the vibration and the direction of travel are in the same direction (an example would be a sound wave or a seismic P-wave).