Capacitors are electronic components used for storing charge and energy. In their simplest form, capacitors consist of two conducting plates separated by an insulating material called the dielectric.
Resistors are electrical components that oppose the flow of either direct or alternating current. They are used to protect, operate, or control circuits.