How does a transistor electronically switch the output on?

i imagine you are referring to ON as a transistor is saturated or ON.