The resistor is a passive electrical component that creates resistance to electric current flow. It is measured in ohms and can be homemade using a pencil. To find the needed resistance value for a circuit, Ohm's law can be used with the voltage and current specifications. The colors of resistors can indicate their resistance values and resistor calculators online can help read these color codes. Common types of resistors include fixed resistors and variable resistors.