Question: how were electromagnetic waves discovered?
Answer: In 1887 Heinrich Hertz demonstrated the existence of the waves predicted by Maxwell by producing radio waves in his laboratory. It took a bit longer for scientists to discover the higher-energy (shorter wavelength) light in the electromagnetic spectrum.