Transverse wave = at right angles to the direction of the motion of the wave
in transverse wave medium particles will move perpendicular to the direction of motion of medium particles
they all are perpendicular to wave always
Longitudinal wave = back and forth in the direction of the motion of the wave
in longitudinal waves medium particles will move in the direction of wave and the motion is always in back and forth type
electromagnetic wave = alternating waves moving at right angles to each other
electromagnetic waves are combination of electric field and magnetic field which oscillates perpendicular to wave as well as they are perpendicular to each other