When recombination pays out light
Back in the junction guide, when an electron met a hole they underwent recombination and both vanished as carriers. But energy is never destroyed — so where did the electron's energy go? The electron fell from the high-energy conduction band down into a low-energy empty seat, and it must shed the difference. That difference is roughly the size of the band gap it dropped across.
In some materials that energy comes out as a flash of heat, jostling the atoms. But in the right materials it comes out as a tiny packet of light — a photon. Each electron that recombines can emit one photon, and the colour of that photon is set by how far the electron fell: a bigger band gap means a bigger drop means a higher-energy, bluer photon; a smaller gap means a redder one. Light, quite literally, is a recombination paid out as colour.
The LED: a junction told to glow
Now run a p-n junction in forward bias — the easy direction from the diode guide — so the battery keeps shoving fresh electrons in from the n-side and fresh holes in from the p-side. They meet in the middle and recombine, over and over, each pairing emitting a photon. The result is a light-emitting diode, or LED: a diode that you have deliberately built from a light-emitting material, so that doing its ordinary job — letting current flow forward — makes it glow.
This is why LEDs are so efficient. A traditional bulb makes light by getting a wire white-hot, wasting most of the energy as heat. An LED skips the heat: it turns electrical energy almost directly into photons, one recombination at a time. That is also why an LED's colour is so pure and so fixed — it is locked to the band gap of the chosen material, not smeared across all colours the way a hot wire's glow is.
Why silicon stays dark — and what we use instead
Here is an honest twist: plain silicon, the king of chips, makes a *terrible* LED. For reasons buried in the detailed shape of its energy bands, silicon almost always dumps recombination energy as heat rather than light. So the LED in your phone's flash is not made of silicon at all. It is made of a compound semiconductor — a semiconductor built from two or more elements combined, such as gallium and arsenic, or gallium and nitrogen.
Compound semiconductors are the painters' palette of light. By picking the elements and their proportions, engineers dial in almost any band gap they want — and so almost any colour. Red and infrared LEDs came first, from gallium-arsenic compounds. The hard prize was blue, which needs a large gap; cracking gallium nitride to make bright blue LEDs in the 1990s was so important it won a Nobel Prize, because red, green, and blue together finally made cheap white light and full-colour screens possible.
This deliberate choosing and blending of materials to set the band gap has a name: bandgap engineering. It is the art of tuning where the energy gap sits in order to control colour, efficiency, and how the device responds to light. Far from a side trick, it is one of the most powerful design levers in all of modern electronics.
The solar cell: run the whole thing backwards
An LED turns electricity into light. Run the very same physics in reverse and you turn light into electricity. Shine light on a p-n junction. If a photon carries at least the band gap's worth of energy, it can be swallowed by an electron and kick it across the gap — the inverse of recombination. Now you have a freed electron and the hole it left behind: a fresh pair of carriers, conjured straight out of a beam of light.
Left alone, that electron and hole would just drift back together. The cleverness of a solar cell is the junction's built-in barrier — the very hill from the diode guide. It sweeps the new electron one way and the new hole the other before they can recombine, herding them out to opposite terminals. Wire the terminals through a circuit and that separated charge flows as a current. Sunlight in, electricity out, with no moving parts.
- A photon strikes the junction and lifts an electron across the band gap, creating an electron-hole pair.
- The built-in barrier sweeps the electron and hole to opposite sides before they can recombine.
- Connected through a circuit, the separated charges flow as usable electric current.
Choosing the gap, choosing the trade-off
For a solar cell the band gap is a balancing act, and here is the honest tension. A *small* gap lets even feeble, red photons be absorbed, so the cell catches more of the sunlight — but each freed carrier carries away only that small gap's worth of energy, so the voltage is meagre. A *large* gap gives a strong voltage but ignores all the low-energy light, which passes straight through unused. Real cells pick a middle gap that harvests the most total power, and silicon happens to sit close to that sweet spot — which is why, despite being a hopeless light-*emitter*, silicon is a fine light-*absorber* and rules the solar panel.
And so the journey closes a loop. The very same p-n junction we built in guide three — by doping, by recombination, by a built-in hill — becomes a diode, a transistor, a lamp, and a power plant, depending only on how we run it and which gap we choose. Out of one honest idea, a small tunable energy gap, an entire technological civilisation is wired together. That is the quiet astonishment at the heart of semiconductor physics.