Concepts · Transistors as switches
A transistor used as a switch behaves differently from one used as an amplifier, and base current has to be sized with that in mind.