It is a switch which switches on/off any
electrical circuit by the sound of the clap.
Electric microphone picks up the sound of
your clap, and produces a small electrical
signal which is amplified by the succeeding
transistor. The two transistor change state at