A laser diode is electrically a PIN diode. The active region of the laser diode is in the intrinsic (I) region, and the carriers (electrons and holes) are pumped into that region from the N and P regions respectively. While initial diode laser research was conducted on simple P-N diodes, all modern lasers use the double-heterostructure implementation, where the carriers and the photons are confined in order to maximize their chances for recombination and light generation.