The transistor is a common electronic device used to amplify a signal or as a switch. It is considered to be the building block of most electrontic circuitry.