A resistor limits the electric current that flows through a circuit. Resistance is the restriction of current.[1] In a resistor the energy of the electrons that pass through the resistor are changed to heat and/or light. For example, in a light bulb, the tungsten filament acts as a resistor that heats up because of the current going through it, causing it to glow.[2]