How do Strobe Lights Work?

Strobe lights can turn on and off very quickly or just like something covers the lights & uncovers it so fast we can see it. The use of electrical currents & a capacitor lets the light flash repeatedly.