Question: how is an electromagnetic wave generated?
Answer: Electromagnetic waves are generated by moving electrons. ... In turn, the moving electron generates a magnetic field that will also become wavy from the motion of the electron. These combined electrical and magnetic waves reinforce one another. This kind of wave is called an electromagnetic wave and light is such a wave.