A resistor is an electrical component that resists the flow of electrical current in a circuit. It is designed to have a specific amount of resistance, measured in ohms, to control the amount of current flowing through a circuit. Resistors are used in electronics to limit voltage, divide voltages, and adjust signal levels. They come in various types, sizes, and power ratings to suit different applications in electronic circuit design.