Before jumping to the answer, let’s first take a look at the defenition of a resistor.
Resistor:
A resistor is an electrical component that limits or regulates the flow of electrical current in an electronic circuit. Resistor can also be used to provide a specific voltage for an active device such as transistors.
I think that after going through this definition you got your answer. Let’s Discuss it in detail.
We all know that one of the main uses of resistor is to control the flow of current. In a resistor, electrons have collision with ions which slows down the flow of electricity and lower the current and also produces heat.
The purpose of the resistor is to decrease the current in the circuit. How does this happen? Firstly, a resistor is made of material that is less conductive than the wire. As a result, electrons aren’t able to move as quickly in the resistor as they are in the wire.