What controls the current at the base of transistors?

Ive learned that in order to turn a transistor on you have to apply a positive voltage at the base. But where does this voltage come from and what controls when it turns on or off? Any answer would be greatly appreciated. Thanks!
5 answers 5