Transistors can do two things: act as a little switch, or as an amplifier.
To find out the inner workings of a transistor, click here.
In my zapper, the transistor is used as a rapid rate, high power switch.
SYMBOL: