A **PN junction** is called so because it is formed by joining two different types of semiconductor materials: **P-type** and **N-type** semiconductors.
- **P-type** (positive) semiconductor has an excess of **holes** (which are essentially the absence of electrons) and is positively charged.
- **N-type** (negative) semiconductor has an excess of **electrons** and is negatively charged.
When these two materials are joined together, they form a **junction** at the interface, where the properties of the P-type and N-type materials meet. The term **PN junction** refers to this boundary or junction between the **P-type** and **N-type** semiconductors.
This junction is the basis for many electronic devices like diodes, transistors, and solar cells, as it controls the flow of electrical current in a specific direction.