Doping is the technique of introducing impurities into a semiconductor in order to produce extra electron-hole pairs. The impurities included are mostly pentavalent and trivalent impurities.