Transverse waves are those in which the particle oscillates perpendicularly to the direction of propagation of the wave.
Longitudinal waves are those in which the particle of the medium oscillates parallel to the direction of the propagation of wave.
what is meant by the direction of the wave ?
Direction of propagation of the wave is the direction in which the motion of the waves, is being considered. Precisely in which direction the wave is travelling.