A transistor acts as amplifier by allowing a small current to control a large current.
Connected to the mains supply of 220 V / 240 V. Supply 1.5 V to the base circuit of the transistor and 6 V for collector transistor circuit to step down transformer installed in the apparatus.