A capacitor is a device that stores electric charge, while a resistor is a device that resists the flow of electric current. Capacitors are used in electronic circuits to filter and store energy, while resistors are used to control the flow of current.\n
What is the difference between a capacitor and a resistor?