HI,
A travelling transverse wave of electric and magnetic fields is known as an Electromagnetic Wave. The discovery that a beam of light was actually an electromagnetic wave was made by J.C.Maxwell. Gradually, other types of electromagnetic waves were discovered.
As more discoveries were made, it was found that electromagnetic waves exist in a wide range of wavelengths, which is now called the Electromagnetic spectrum, and visible light is only a small part of it. One of the first people to observe the spectrum was Issac Newton. He allowed sunlight coming through a small aperture to pass through a glass prism, which split it into its seven colors.
Hope It Helps !!!!!!!!!
Cheers !!!!!!!!!!