Resistors oppose current flow, causing a voltage drop and generating heat through resistance. There are different types of resistors that must dissipate heat without exceeding their power rating to avoid damage. Commercial resistors have preferred resistance values with tolerances indicated through standardized color codes.