what's the job of a resistor in an electric circuit?
A resistor is a device which resist the flow of current in the circuit.