The flow of current in a semiconductor are of two types namely, drift and diffusion current. The current produced due to the movement of charge carriers by external applied voltage is known as drift current. Whereas, the current produced due to the change in concentrations is called diffusion current.