What is the purpose of using resistors in LED circuits?
Resistors are used in LED circuits to limit the amount of current flowing through the LED to prevent it from burning out. They ensure that the LED operates at the correct voltage and current levels.