A transistor is an electronic semiconductor device that is used in the circuit to control, regulate and amplify electrical voltage or current signals.