Transistor as switch
1) Most sensors, processors, microcontrollers can't source enough power
to make things happen in the real world.
2) Transitors allow a large amount of current to be controlled by a small
change in voltage.
3) Grounds between control circuit and transistor must be common.

page 11