p-n junction
/ PEE-en JUNK-shun /
Picture two adjoining rooms: one crowded with restless free electrons, the other with empty seats — holes — eager to be filled. Open the door between them and electrons spill across into the holes near the boundary. That meeting place, where an electron-rich region touches a hole-rich region, is a p-n junction.
A p-n junction is the boundary where p-type material meets n-type material inside a single crystal. Where they touch, the free electrons from the n-side rush over to fill holes on the p-side, and the two cancel out near the interface, leaving behind a thin zone stripped of mobile carriers, the depletion region. The exposed fixed ions there build up an internal electric field that pushes back, until a balance is reached. This built-in field is what makes the junction conduct easily in one direction and resist the other.
The p-n junction is arguably the single most important structure in electronics — it is the working core of diodes, the building block of transistors, the active element of solar cells and LEDs. A common misconception is that the n-side is negative and the p-side positive; in fact both sides start neutral, and the only charge separation is the tiny, built-in field across the thin depletion layer.
A simple silicon diode is just one p-n junction with a wire on each end. Connect the battery one way and current flows freely; reverse it and the built-in field widens the depletion region and almost no current passes — the junction acts as a one-way valve.
A single p-n junction already behaves as a diode: it conducts one way, blocks the other.
A p-n junction is not made by gluing two separate pieces together; it must be grown or diffused inside one continuous crystal, because the magic depends on the lattice running smoothly across the boundary.