1-capacitor for ensuring smooth & consistent flow of electricity
2-resistor for limiting too much electricity from reaching the LED fast
capacitors are used in charge pump circuits as the energy storage element in the generation of higher voltages than the input voltage. Capacitors are connected in parallel with the DC power circuits of most electronic devices to smooth current fluctuations for signal or control circuits.
safety: high voltage capacitors can store a lot of electricity therefore caution is advised when using them.
capacitor voltage is normally indicated around its cover in [V] volts