Question: what is an electromagnetic wave and how is it produced?
Answer: An accelerating charged particle produces an electromagnetic (EM) wave. Electromagnetic waves are electric and magnetic fields traveling through empty space with the speed of light c. A charged particle oscillating about an equilibrium position is an accelerating charged particle.