It is an active component and it can also be used in switching circuits to turn on or off the intended devices. It has 3 terminals namely Base(B), Collector(C), Emitter(E) for connections with other components in the circuit. Some transistors also contain fourth terminal named Substrate(S).