Electromagnetic waves are created when electric charges undergo acceleration. As the charges accelerate, they generate oscillating electric and magnetic fields that are perpendicular to each other and to the direction of wave propagation. These oscillating fields mutually sustain each other, allowing the electromagnetic wave to propagate through space. Common sources of electromagnetic waves include oscillating charges in antennas, energy transitions in atoms, and the acceleration of charged particles in magnetic fields.