A transistor is a miniature electronic component that can do two different jobs. It can work either as an amplifier or a switch: ... Transistors can also work as switches. A tiny electric current flowing through one part of a transistor can make a much bigger current flow through another part of it.