Electromagnetic waves are just electric and magnetic fields wiggling.
If you wiggle a magnet up and down really fast, the “pull” of that magnet a metre away will get weaker and stronger as you wiggle it. The magnet’s “pull” wiggling will travel through space as a radio wave.
Similarly, if you charge a balloon with static electricity by rubbing it on your hair, then wiggle the balloon really fast, the “pull” of the balloon on your hair will get weaker and stronger. This wiggling of pull strength will also travel through space as a radio wave.
Electromagnetic waves in general – light, gamma waves, radio, microwaves – are all just the strength of magnetic (and electric) “pull” getter stronger and weaker in space.
**TL;DR:** Wiggling a magnet makes light.
Latest Answers