On the other hand, relays are typically large, expensive, slow, require significant power, add a large coil of wire to the circuit ... when the BJT is ‘switched on’ but for our purposes ...
Take your pick: Mathematical equations governing the various currents inside a BJT A good place to start to comprehend anything complex is by having an accurate but most importantly, tangible ...