What is Resistor?

A resistor is a two-terminal electronic component that opposes an electric current by producing a voltage drop between its terminals in proportion to the current, that is, in accordance with Ohm’s law:

Ohm's law:    V= IR