A resistor is a device that prevents electrical current from flowing. The larger a resistor's value, the more it inhibits the current flow. A resistor's value is measured in ohms and is referred to as its resistance.'