The sound waves are the longitudinal waves (a wave in which the medium vibrates along the direction of its propagation) whereas electromagnetic waves are transverse wave (a wave in which the medium vibrates at right angles to the direction of its propagation).