A transistor works as an amplifier by taking in a very small weak signal through the base junction and raising the strength of the weak signal. This amplified signal is released through the collector.