Answer
The main advantage of p-type doping is that it enables the creation of blue LEDs. In a p-type semiconductor, holes are the majority charge carriers. When a p-type semiconductor is combined with an n-type semiconductor, a p-n junction is formed. When a voltage is applied to the p-n junction, electrons from the n-type semiconductor recombine with holes from the p-type semiconductor, releasing energy in the form of light.