When sunlight hits an electron, the electron can absorb the photon's energy and jump to a higher energy level, escape the material entirely (the photoelectric effect), scatter the light (Compton or Rayleigh scattering), or remain unchanged if the photon's energy doesn't match an available transition. The outcome depends on the photon's energy, the electron's binding state, and the material's electronic structure.

Sunlight is not a single entity. It is a broad spectrum of photons ranging from roughly 0.5 electron volts (infrared) to over 3 electron volts (ultraviolet). Each photon carries a discrete quantum of energy determined by its wavelength. When one of these photons encounters an electron, the interaction follows quantum mechanical rules that are strict about energy conservation, momentum, and probability. Understanding what happens requires examining the mechanism at the level of wavefunctions and band structure, not just the simplified Bohr model.

Photon absorption and electronic transitions

The primary interaction between sunlight and matter is photon absorption. An electron in a bound state, whether in an atom, a molecule, or a solid, occupies a specific energy level. When a photon arrives with energy exactly matching the gap between the electron's current state and an empty state above it, the electron can absorb that photon and transition upward.

This is not a gradual process. The absorption happens in roughly 10 to 100 attoseconds, a timescale so short that the electron effectively "jumps" without passing through intermediate positions. The energy match must be precise within the linewidth of the transition, typically a few milli-electron volts for isolated atoms but broadened to tenths of an electron volt in solids due to thermal and collisional effects.

In atoms, these transitions involve discrete orbitals. In molecules, the electrons occupy molecular orbitals that span multiple nuclei. In solids, electrons exist in bands, continuous ranges of allowed energy separated by forbidden gaps. The band gap of a material determines which photons can be absorbed. Silicon has a band gap of about 1.1 electron volts, meaning photons with energy above that threshold, corresponding to wavelengths shorter than roughly 1,100 nanometers, can excite electrons across the gap.

The absorbed energy does not disappear. It promotes the electron to a higher state, leaving behind a vacancy called a hole. This electron-hole pair is the fundamental unit of light-matter interaction in semiconductors and the basis for solar cell operation.

The photoelectric effect and electron ejection

When a photon carries more energy than the binding energy holding an electron to a material, the electron can be ejected entirely. This is the photoelectric effect, first explained by Einstein in 1905 and one of the foundational observations of quantum mechanics.

The key threshold is the work function, the minimum energy required to remove an electron from a solid surface into vacuum. For most metals, work functions range from about 2 to 5 electron volts. Cesium has one of the lowest at roughly 2.1 electron volts, while platinum sits near 5.6 electron volts. Sunlight's ultraviolet component, with photons above 3.1 electron volts (wavelengths below 400 nanometers), carries enough energy to eject electrons from many metals. Visible light, with photons between about 1.8 and 3.1 electron volts, can eject electrons only from low-work-function materials.

The ejected electron carries kinetic energy equal to the photon energy minus the work function. A 4-electron-volt photon striking cesium produces an electron with roughly 1.9 electron volts of kinetic energy. This energy relationship is linear and was the first definitive evidence that light behaves as discrete quanta rather than continuous waves.

The photoelectric effect matters practically in photodetectors, photomultiplier tubes, and image sensors. It also drives photochemistry in the upper atmosphere, where ultraviolet photons eject electrons from oxygen and nitrogen molecules, creating the ionosphere.

Quantified context: energy, wavelength, and penetration

The energy of a photon is inversely proportional to its wavelength, governed by the relation E = hc/λ, where h is Planck's constant and c is the speed of light. In practical units, a photon at 400 nanometers (violet) carries about 3.1 electron volts, at 500 nanometers (green) about 2.5 electron volts, at 700 nanometers (red) about 1.8 electron volts, and at 1,000 nanometers (near-infrared) about 1.2 electron volts.

Sunlight at the top of Earth's atmosphere delivers roughly 1,361 watts per square meter, a value called the solar constant. About 70 percent of this reaches sea level after atmospheric absorption and scattering. Of that, roughly 3 percent is ultraviolet, 42 percent is visible, and 55 percent is infrared by energy content.

Light band Wavelength range Photon energy Typical electron outcome
Ultraviolet C 100–280 nm 4.4–12.4 eV Ionization, bond breaking
Ultraviolet B 280–315 nm 3.9–4.4 eV Photoelectric ejection, DNA damage
Ultraviolet A 315–400 nm 3.1–3.9 eV Excitation, indirect photochemistry
Visible 400–700 nm 1.8–3.1 eV Band-gap excitation, photosynthesis
Near-infrared 700–1,400 nm 0.9–1.8 eV Vibrational excitation, heating
Shortwave infrared 1,400–3,000 nm 0.4–0.9 eV Low-energy excitation, heat

The penetration depth of light also matters. Red and infrared photons penetrate biological tissue and silicon more deeply than blue and ultraviolet photons. In silicon, blue light is absorbed within about 0.5 micrometers, while red light penetrates roughly 5 micrometers and near-infrared light reaches tens of micrometers. This depth difference shapes the design of solar cells and photodetectors.

Edge cases and exotic outcomes

Beyond the standard absorption and ejection scenarios, several less common outcomes occur under specific conditions.

Two-photon absorption. When light intensity is very high, an electron can absorb two photons simultaneously, combining their energies to bridge a gap that neither could cross alone. This requires roughly a million times the intensity of focused sunlight, so it occurs mainly in pulsed laser experiments, not natural sunlight.

Auger recombination. An electron and hole recombine, but instead of emitting a photon, the energy transfers to a third electron, ejecting it with high kinetic energy. This process limits the efficiency of some solar cell designs and is a key loss mechanism in high-intensity optoelectronic devices.

Photocatalytic generation of reactive species. In semiconductors like titanium dioxide exposed to ultraviolet light, excited electrons and holes migrate to the surface and drive chemical reactions. They can split water, degrade organic pollutants, or generate reactive oxygen species. Titanium dioxide's band gap of about 3.2 electron volts means only ultraviolet photons activate it, which is why visible-light photocatalysis requires doping or sensitization.

Photoionization in biological molecules. Ultraviolet photons can eject electrons directly from DNA bases, creating radical cations that lead to strand breaks. This is a primary mechanism of ultraviolet-induced genetic damage. The most damaging wavelengths sit near 260 nanometers, close to DNA's peak absorption.

Counterintuitive detail: in some materials, heating the electrons can actually reduce absorption. This occurs in certain doped semiconductors where the Fermi level shifts with temperature and blocks the transition the photon would otherwise drive. The effect is small but measurable and matters in precision photodetectors.

Persistent misconceptions

Several widespread beliefs about light and electrons are incomplete or wrong.

The first misconception is that sunlight always excites electrons. In reality, most photons passing through a transparent material like glass or water do not interact with electrons at all. The probability of absorption depends on the material's electronic structure and the photon's energy relative to allowed transitions.

The second is that electrons orbit like planets. Electrons in atoms and solids are described by wavefunctions with probability distributions, not well-defined trajectories. The energy levels are quantized, but the electron's position is not a point moving along a path.

The third is that the photoelectric effect proves light is only a particle. It demonstrates quantization of photon energy, but light also exhibits wave behavior in interference and diffraction. The description depends on the measurement.

The fourth is that energetic photons always damage materials. A high-energy ultraviolet photon may eject an electron, but the electron often recombines or loses energy to heat without permanent structural change. Damage requires specific conditions: bond breaking, radical formation, or defect creation that persists.

Sunlight can eject electrons from some metals but not from most rocks or glass. A photon whose energy sits below a band gap passes through without exciting electrons. Excited electrons often return to their original state within picoseconds to nanoseconds. Thermal energy from sunlight reradiates as infrared without involving electronic transitions at all. Photon energy, not total sunlight intensity, determines whether a specific electron transition occurs.

Practical implications and actions

Understanding electron-photon interactions matters for technological design, safety, and environmental science.

For solar energy systems, the band gap of the photovoltaic material determines which photons can be harvested. Silicon's 1.1-electron-volt gap wastes the excess energy of blue photons as heat and fails to absorb photons below the gap. Tandem cells stack materials with different gaps to capture a broader spectrum. Perovskite-silicon tandems have reached laboratory efficiencies above 30 percent, though commercial durability remains a challenge.

For ultraviolet protection, the key threshold is what energy the photons carry and whether that energy can break molecular bonds. Sunscreen ingredients absorb ultraviolet photons, dissipating the energy as heat before it reaches DNA. The SPF rating reflects the fraction of ultraviolet B blocked; "broad spectrum" indicates coverage of ultraviolet A as well.

For photodetector design, choosing the right work function or band gap determines the wavelengths detectable. Silicon photodiodes respond across the visible and near-infrared. Indium gallium arsenide extends detection into the shortwave infrared for fiber-optic communication.

For photocatalysis and environmental remediation, ultraviolet light combined with titanium dioxide can degrade organic pollutants in water and air. The process requires photon energies above the band gap and adequate contact between the catalyst and the pollutants.

Limitations and what remains uncertain

Several aspects of light-electron interaction are not fully resolved or are difficult to measure precisely.

Hot-carrier dynamics in materials remain an active research area. When a high-energy photon creates an electron above the band edge, that "hot" electron can either transfer its excess energy to the lattice as heat or, in some designs, be collected before cooling. The exact timescales and efficiencies of hot-carrier collection vary with material quality and device architecture, and laboratory results have not consistently translated to commercial devices.

Photoemission from complex biological systems involves multiple simultaneous processes that are difficult to isolate. The relative contributions of direct electron ejection, radical formation, and secondary reactions to biological damage remain under study, with significant uncertainty in the quantitative pathways for ultraviolet-induced damage to tissues.

Theoretical treatments of strong-field interactions, where sunlight approaches laser-like intensity, require approximations that break down. Natural sunlight is far below these regimes, so this limitation rarely affects everyday scenarios. However, it matters for understanding extreme environments and for designing high-intensity laser experiments.

Thresholds in this field are not universal. The work function, band gap, and ionization potential vary between materials and even between crystal faces of the same metal. The tabulated values above represent common materials and should not be applied to specific unknown samples without measurement.

Models of electron-photon interaction assume isolated or weakly interacting electrons. In strongly correlated materials, where electron-electron interactions dominate, the single-particle picture fails, and the outcomes can differ dramatically. These systems are the subject of ongoing theoretical and experimental research.