Question: how electromagnetic waves produced by accelerating charges?
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.