Answer
Gallium is the main component of p-type gallium nitride. P-type semiconductors have a majority of holes, which are positively charged carriers. In gallium nitride, holes are created by doping with elements like magnesium or zinc, which have one less valence electron than gallium. These dopant atoms substitute gallium atoms in the crystal lattice, creating a hole in the valence band.