The flashing is thanks to LEDs with a built-in, integrated flashing circuit and the nasty noise comes from a piezoelectric buzzer — both are available from electronics stores that sell ordinary LEDs.
Among the abundance of components making up electronic circuits, very few are as important as capacitors. These components, taking the form of conductive plates separated by an insulating material ...