In a diode, the "P" and "N" refer to the two types of semiconductor materials that make up the diode:
- P stands for Positive. The P-type semiconductor is doped with materials that create "holes" (or the absence of electrons), which are positively charged.
- N stands for Negative. The N-type semiconductor is doped with materials that add extra electrons, which carry a negative charge.
The P-N junction, where the P-type and N-type materials meet, is the key feature of a diode. It allows current to flow in one direction (forward bias) and blocks it in the opposite direction (reverse bias).