a resistor limits the electric current that flows through a circuit. resistance is the restriction of current. 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.