Transistors are made up of semiconductor material which is commonly used for amplification or switching purpose, it can also be used for the controlling flow of voltage and current.