UVA Virtual Lab: Capacitor and a Resistor
© 2003-Present J.C. Bean
As the current flows the voltage across the capacitor and the resistor fall. The current gets smaller and the light bulb dims.
When the capacitor is fully discharged no current flows and the light bulb goes out.