Please help support the site by donating at the link below.https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=8ZRU34U47BESW
A resistor stops a certain amount of current from passing through them, think of them like a damn for electricity.You add them to leds because without them there would be to much current flowing though the led and it would burn out.