How to power an LED

For those of you just starting with electronics, here is a quick explanation of how to power your LEDs, and why selecting the right resistor is so important.