Transistors are semiconductor devices which is used to amplify small signals coming from a sensor or a circuit and other systems to be recorded and registered by the controller you are using or any data logger to register your signals which generally are too small to be read by it. It is an active component…