When one places a capacitor in a circuit containing a light bulb and a battery, the capacitor will initially charge up, and as this charging up is happening, there will be a nonzero current in the circuit, so the light bulb will light up.