The above circuit defines the use of capacitor in a circuit. When the push button is pressed the capacitor gets charged and the led glows using the 9v battery current. As soon as the push button is released the capacitor provides the current for the led to glow and after sometime the capacitor drains which leads to led OFF state.