A resistor is an electronic component that resists the flow of electrical current. It is used to control the amount of current in a circuit, protect components from receiving too much current, and reduce voltage levels. Resistors are commonly used in electronic circuits to limit current flow, adjust signal levels, divide voltages, and terminate transmission lines.