A resistor is a passive electrical component that resists the flow of electric current, converting electrical energy into heat. It plays a vital role in controlling current and voltage levels in circuits, impacting how components work together. Resistors are essential for setting bias points in active devices, limiting current to protect components, and shaping signals within various electronic applications.