Seven-segment displays are extremely versatile and are widely used in digital clocks, electronic meters, basic calculators, and other electronic devices that display numerical information.
This circuit is a good example of their application,
The resistor connected to pin 2 & 7 determines the flashing rate.
Enjoy...😎