
Until the beginning of the 19th century, electricity and magnetism were considered independent. In 1820, Hans Christian Ørsted discovered that a current deflects a magnetic needle, and Michael Faraday in 1831 showed that a moving magnet creates a current in a coil. In the 1860s, the Scottish physicist James Clerk Maxwell generalized these laws into a system of equations that not only described all known phenomena but also predicted electromagnetic waves.
When electrons in an antenna oscillate, they create changing electric and magnetic fields around them, which, like ripples on water, spread through space as an electromagnetic wave. The eye perceives high-frequency waves as light, and an antenna picks up radio frequencies as a Wi-Fi signal.