What is needed is a means to limit the current that flows through the LED. Resistors offer an expedient means for limiting the current through an LED to safe levels, but they have two downsides: 1. Resistors are inefficient: A resistor converts all the electrical energy it consumes into heat.

Favorite 68 Introduction LEDs are all around us: In our phones, our cars and even our homes. Any time something electronic lights up, there's a good chance that an LED is behind it. They come in a huge variety of sizes, shapes, and colors, but no matter what they look like they have one thing in common: they're the bacon of electronics.
Whether you’re using them for indication, communication, lighting, or just for some added cool factor to a project, all LEDs have one thing in common: they are unable to regulate current. Without a limited current flow, LEDs will eventually fail. Sometimes catastrophically.
. 349 43 238 68 264 124 191 54 341

why do leds need resistors