Transistors are extremely versatile.
To understand this well,
you need to study three basic circuits:
the common emitter, common collector
and the common base circuit.
Here you get to know them in detail.
» more...