A semiconductor is a material that conducts electricity better than an insulator like rubber, but not as well as a conductor like copper. This unique property places semiconductors in a special category that makes them extraordinarily us…
Pure silicon crystals are mediocre conductors, but adding tiny amounts of specific impurities—typically one atom per million silicon atoms—dramatically changes their electrical behavior. This process, called doping, introduces atoms with either extra electrons (like phosphorus) or missing electrons (like boron) into the crystal structure. The choice of dopant determines whether the material carries current primarily through free electrons (n-type) or through positively charged "holes" where electrons are missing (p-type).
The doping process requires extraordinary precision because even slight variations in impurity concentration can drastically alter the semiconductor's properties. Manufacturers control doping by exposing silicon wafers to gases containing the desired impurity atoms at high temperatures, or by implanting ions directly into specific regions. This ability to engineer electrical properties at the atomic level is what makes modern electronics possible—a single computer chip contains billions of carefully doped regions, each performing a specific function in the circuit.
In a silicon crystal, electrons normally stay locked in bonds between atoms, unable to move freely. When energy hits the crystal—whether from heat, light, or an electric field—it can break these bonds, freeing an electron to move through the material. Crucially, the spot where the electron was removed becomes a positively charged "hole" that also acts as a mobile charge carrier, because neighboring electrons can jump into it.
This electron-hole pair creation is fundamental to how semiconductors work. Unlike metals where charge carriers already exist in abundance, semiconductors generate carriers on demand in response to external energy. The number of electron-hole pairs determines the material's conductivity at any given moment—more energy creates more pairs and better conduction. This dynamic response is what distinguishes semiconductors from simple conductors.
Temperature significantly affects pair generation because thermal energy constantly breaks and reforms bonds in the crystal. At absolute zero, pure silicon would be nearly an insulator with almost no free carriers. At room temperature, thermal energy creates enough electron-hole pairs to give silicon its characteristic intermediate conductivity, while higher temperatures create even more pairs and increase conductivity further.
When n-type and p-type semiconductors are joined together, something remarkable happens at their interface. Electrons from the n-side naturally diffuse across to the p-side where holes are abundant, and holes flow the opposite direction. This mixing doesn't last long—as electrons and holes meet and cancel each other out near the boundary, they leave behind a thin "depletion region" empty of mobile charges but filled with a built-in electric field.
This junction acts like an electrical one-way valve. The built-in electric field creates a barrier that prevents further flow of majority carriers under normal conditions. However, apply an external voltage in the "forward" direction and you reduce the barrier, allowing current to flow easily. Apply voltage in the "reverse" direction and you strengthen the barrier, blocking current almost completely.
The p-n junction is the fundamental building block of virtually all semiconductor devices. Diodes use a single junction to allow current in only one direction. Transistors use two junctions arranged back-to-back (either p-n-p or n-p-n) to create a switch that can be controlled by a small voltage. Solar cells use the junction's internal electric field to separate light-generated electron-hole pairs before they recombine, producing electrical power.
The transistor's switching ability stems from using an electric field to control the conductivity of a semiconductor region. In a common design called a MOSFET (metal-oxide-semiconductor field-effect transistor), a thin insulating layer separates a metal gate electrode from the semiconductor channel beneath it. When voltage is applied to the gate, it creates an electric field that either attracts or repels charge carriers in the channel, dramatically changing its ability to conduct current between two other terminals called the source and drain.
This voltage-controlled switching happens incredibly fast and requires almost no power at the control gate because current doesn't actually flow through the insulating layer. A gate voltage of just a few volts can switch the channel from essentially insulating to highly conducting in nanoseconds or less. This speed and efficiency allow billions of transistors to operate simultaneously in a microprocessor, with each one switching millions or billions of times per second.
The switching mechanism enables all digital logic because transistors can represent the binary states of 0 and 1—off and on. Combining transistors in specific arrangements creates logic gates that perform basic operations like AND, OR, and NOT. Chain together millions of these gates and you get the complex circuits that execute software instructions, store data, and perform calculations in every digital device.
When photons strike a semiconductor with sufficient energy, they break atomic bonds and create electron-hole pairs just like thermal energy does—but with precise control. In a solar cell, the p-n junction's built-in electric field immediately acts on these light-generated pairs, sweeping electrons toward the n-side and holes toward the p-side before they can recombine. This separation of charges creates a voltage across the junction and drives current through an external circuit connected to the cell.
The conversion efficiency depends critically on matching the semiconductor's properties to the light being absorbed. Silicon absorbs visible and near-infrared light well because photons in this range have just enough energy to break silicon's bonds without wasting excess energy as heat. Different semiconductor materials with different "bandgaps"—the minimum energy needed to free an electron—can be optimized for different parts of the light spectrum or different applications.
This light-to-electricity conversion also works in reverse in devices called LEDs (light-emitting diodes). When current flows through an LED's junction in the forward direction, electrons and holes are pushed together with enough energy that they recombine and release that energy as photons of light. The semiconductor material determines the photon energy and thus the color of light emitted—gallium nitride produces blue light, while gallium arsenide produces infrared.