capacitor as power storage

components:
1) B1: 9 volt battery
2) LED1: light emitting diode
3) R1: 1 k ohm resistor
4) R2: 100 ohm resistor
5) S1: Slide switch
6) S2: Momentary on push button switch
7) C1: 470uF electrolytic capacitor
notes:
1) 1 k ohm = 1000 ohm
2) Electrolytic capacitors have polarity.