In other words, electric waves and magnetic waves move in transverse directions. This is in contrast to longitudinal waves, such as sound waves, in which the particles of the medium vibrate parallel to the direction of propagation.
The transverse nature of electromagnetic waves is a fundamental property that has important implications for their behavior and applications. For example, it is this property that allows electromagnetic waves to be polarized, which is used in a variety of technologies such as radio antennas and sunglasses.