A LED can only have X amount of current going through it or it BLOWS UP.
A resistor limits the LED current to a safe operating level.
A LED can only have X amount of current going through it or it BLOWS UP.
A resistor limits the LED current to a safe operating level.