Answer: Electromagnetic waves are generated by moving electrons. An electron generates an electric field which we can visualize as lines radiating from the electron Figure 10a. If the electron moves, say it vibrates back and forth, then this motion will be transferred to the field lines and they will become wavy Figure 10b.