Suprajit interview question

Describe transistor as a amplifier