A transistor is a device that controls current or voltage flow while also acting as a switch or gate for electronic signals. Transistors are made up of three layers of semiconductor material, each of which can carry a current.
Because of their ability to control the current flowing through a circuit (current controlling device) generated by the flow of electrons and holes, transistors are extremely powerful devices. There are two kinds: NPN (negative-positive-negative) and PNP (positive-positive-negative).
NPN transistors are the most commonly used transistors because the majority of charge carriers are electrons, which are better mobile charge particles with less mass and can easily accelerate.
It is a semiconductor that functions as both a switch and a rectifier. Transistors can operate on a low-voltage supply for added safety, resulting in higher efficiency and very long life.
The transistors perform the same function as a vacuum triode but use semiconductor junctions instead of heating electrodes.
By varying the intensity of a small amount of current flowing through a second channel, the transistors can control the flow of current through one channel. That is why they are known as current controlling devices.