The primary function of a resistor is to limit the flow of electric current, providing a specific amount of resistance measured in ohms (Ω). By doing so, they create a voltage drop, allowing other components like LEDs to operate safely without being damaged by excessive current.
Mechanically open or close a circuit.
: Functioning like temporary batteries, they store energy in an electric field. They are often used for filtering noise or smoothing power supplies. basic electronics components and their functions pdf