What is resistor?What is resistor?A device used to control current in an electric circuit by providing resistance.