How Transistors Work?

A transistor can be used as an amplifier or a switch. It has three parts: the base, the collector, and the emitter. It controls the gate of electricity to a much larger supply. It works sort of like your water faucet would when you turn it on or off, there is more water in there, but you would turn it off when you don’t need anymore.