The russian scientist Oleg Vladimirovich Losev has invented LEDs in 1927.
Before they were lighting, LEDs began life as simple indicator lights.
By design, for a long time LEDs were only able to emit light in the infrared and red spectrum.
It took a great deal of research before we were finally able to generate other colors.
LEDs emit several colors, but not in uniform quantities.
LEDs emit a mixture of colors that appear white to us, but in reality are not. Here's the LED emission spectrum:
The blue/UV component is very important! It's not good for our eyes, nor for the environment. UVs are harmful to organs. Remember why you use sun cream...
In comparaison, here are several emission spectrums:
For the sun, the distribution is uniform, although there is a drop in UV, which is partly filtered by the atmosphere.
Few UVs, and lots of infrared (harmless thermal radiation).
The advantages of LEDs
Disadvantages
More and more people are complaining about the misuse of LEDs. Overpowering, too numerous, there's a lot of information on the problems they cause (cf. ban LEDs).