Back to Solar Energy

Solar Electricity Fundamentals

How Sunlight Becomes Electricity

Understand the photovoltaic cell, how charges separate, and why several cells form one module.

  • By MySunDirection
  • 9 min read
Share this explanation
One-minute answer

You need to understand how “How Sunlight Becomes Electricity” reached its present form so that older terminology and current practice are not confused.

Follow solar energy from an absorbed photon to direct current, then see how cells combine to create a useful module voltage.

Select or check first
Absorb. A usable photon transfers energy inside the semiconductor.
Controlling assumption
Irradiance, weather, module construction, wiring, orientation and measurement boundary match the case being discussed.
Top risk
Light can energize the DC side. A PV module can produce voltage whenever it is illuminated, even if an AC isolator is open. Do not unplug connectors, open junction boxes, or alter string wiring unless the equipment is made safe using the manufacturer’s procedure and the work is performed by a qualified person.
Proof
Deliver. With a closed circuit, charge moves through the load and transfers energy to it.
Start with the basics Optional foundation before “How Sunlight Becomes Electricity”

Solar-energy basics

These terms separate what sunlight supplies, what a photovoltaic system converts and what a meter finally records.

Power and energy
Power is the instantaneous rate of using or producing energy, measured in watts. Energy accumulates over time and is commonly measured in watt-hours or kilowatt-hours.
Irradiance
Irradiance is solar power arriving per unit area, usually expressed in watts per square metre. It is an input condition, not the same thing as electrical output.
Voltage and current
Voltage is electrical potential difference; current is the rate of electric charge flow. Their product gives electrical power for a DC operating point.
Cell, module and string
A cell is one photovoltaic device, a module connects many cells, and a string connects modules in series. A limitation at one level can affect the others through the wiring.
Rated versus real output
Nameplate values come from defined test conditions. Real output changes with sunlight, temperature, angle, shading, wiring, conversion losses and ageing.

How to use this article: Before using a number, identify whether it describes sunlight, DC module output, inverter output or billed energy, and record the time and weather boundary.

On this page
  1. From light to movable charge
  2. Why the junction matters
  3. From one cell to one module
  4. Voltage, current, power and energy are different
  5. What the module does—and does not—do

A solar module does not store sunlight and release it later. While light reaches its photovoltaic cells and an electrical circuit is connected, the cells convert part of that incoming light energy directly into direct-current electricity. The complete path is: absorb light, create movable charge, separate that charge, collect it at metal contacts, and send it through an external circuit.

From light to movable charge

Sunlight arrives as packets of electromagnetic energy called photons. A semiconductor can absorb some of those photons. If an absorbed photon transfers enough energy, it can free an electron from a bound state and leave behind a vacancy called a hole. Engineers describe the electron and hole as charge carriers because their movement can contribute to current.

Not every photon becomes useful electricity. Some light is reflected, some passes through, and some absorbed energy becomes heat. Electrons and holes can also recombine before the contacts collect them. These losses are why cell efficiency is always below 100 percent and why a drawing of one successful carrier pair is a teaching model, not a count of every photon.

A simplified silicon-cell cross-section. The internal field assists carrier separation; the metal contacts and closed external circuit allow useful current to flow.
Diagram description

On the left is a crystalline cell with a contact grid. On the right, a simplified n-type top layer and p-type base meet at a junction. Arrows show light-generated electrons and holes moving in opposite directions, with an external wire and load completing the circuit.

Why the junction matters

A common crystalline-silicon cell contains regions engineered to have different electrical properties. Where those regions meet, a junction forms with a built-in electric field. That field helps drive newly created electrons toward one side and holes toward the other before they recombine. Conductive contacts then collect the carriers.

One conversion cycle

  1. Absorb.A usable photon transfers energy inside the semiconductor.
  2. Create.The absorbed energy produces an electron-hole pair.
  3. Separate.The junction field encourages the two carriers toward opposite contacts.
  4. Collect.The contacts connect those separated charges to the module terminals.
  5. Deliver.With a closed circuit, charge moves through the load and transfers energy to it.

From one cell to one module

One cell produces only a modest voltage and power. A manufacturer interconnects many cells and seals them behind protective layers to make a module. A panel is often used as another name for a module, while an array is a connected group of modules.

Series connection raises terminal voltage. The twelve-cell count is deliberately illustrative and is not a commercial module rating.
Diagram description

A sample module and a numbered chain of twelve cells illustrate series wiring. A single arrow represents the same series current, while the module voltage is the sum of the individual cell voltages at that operating current.

In a series string, the same current must pass through each cell and the individual cell voltages add. That makes series connection useful for building a practical terminal voltage. It also means the cells interact: a weak, damaged, differently heated, or shaded cell group can constrain the current or force protective bypass behavior. The exact effect depends on the module circuit, which is explored in the next article.

How series and parallel connections differ

Series-connected devices share current while their voltages add. Parallel-connected strings share voltage while their currents add at the common connection. Real modules and arrays can use combinations of both, so the wiring diagram and manufacturer documentation matter more than cell count alone.

Voltage, current, power and energy are different

Four quantities that should not be used interchangeably
QuantityPlain-language meaningCommon unit
VoltageElectrical potential difference between two pointsvolt (V)
CurrentRate of electric charge flow through a pathampere (A)
PowerInstantaneous rate of transferring energywatt (W)
EnergyPower accumulated over timewatt-hour (Wh) or joule (J)

Electrical power at an operating point

P = V × I

A lit module can operate at many combinations of voltage and current. Multiplying the simultaneous terminal values gives the DC power at that operating point.

P
power in watts (W)
V
voltage in volts (V)
I
current in amperes (A)
Example

If a module is operating at 32 V and 10 A, its DC power at that instant is 320 W. This is an illustrative operating point, not a prediction of daily energy.

Energy over a time interval

E = P × t

Power is a rate; energy is the accumulated result. If power changes, energy is found by adding the contribution from each interval rather than assuming one constant value.

E
energy, often in watt-hours (Wh)
P
power in watts (W)
t
time in hours (h) when E is expressed in Wh
Example

A steady 320 W for 2 h would equal 640 Wh. Outdoor solar power rarely stays exactly steady for two hours, so monitoring and energy models use changing conditions.

What the module does—and does not—do

  • It produces DC.An inverter is normally needed when the system must supply grid-compatible AC.
  • It does not store energy.Storage requires a separate device such as a battery and compatible power electronics.
  • Its voltage and current are not fixed.Light, cell temperature, load, mismatch and wiring all move the operating point.
  • Its nameplate is a test-condition reference.It is not a promise of identical power in every outdoor condition.

Next, see why cells connected together make local conditions important in Why Shade and Heat Reduce Solar Output, then follow the electrical operating point in How MPPT Finds Useful Solar Power.

E1 · Educational scene

Explore the decision in three states

Select a state to compare the starting condition, the important change and the evidence needed before acting. The same meaning remains in the static list.

Start

Follow solar energy from an absorbed photon to direct current, then see how cells combine to create a useful module voltage.

What changes

Light can energize the DC side. A PV module can produce voltage whenever it is illuminated, even if an AC isolator is open. Do not unplug connectors, open junction boxes, or alter string wiring unless the equipment is made safe using the manufacturer’s procedure and the work is performed by a qualified person.

Verify

Deliver. With a closed circuit, charge moves through the load and transfers energy to it.

  1. Follow solar energy from an absorbed photon to direct current, then see how cells combine to create a useful module voltage.
  2. Light can energize the DC side. A PV module can produce voltage whenever it is illuminated, even if an AC isolator is open. Do not unplug connectors, open junction boxes, or alter string wiring unless the equipment is made safe using the manufacturer’s procedure and the work is performed by a qualified person.
  3. Deliver. With a closed circuit, charge moves through the load and transfers energy to it.

One-minute questions

Questions to answer before you apply this lesson

What should I select or check first for How Sunlight Becomes Electricity?

Absorb. A usable photon transfers energy inside the semiconductor.

Which assumption can change the conclusion?

Irradiance, weather, module construction, wiring, orientation and measurement boundary match the case being discussed.

What can go wrong if I copy the example directly?

Light can energize the DC side. A PV module can produce voltage whenever it is illuminated, even if an AC isolator is open. Do not unplug connectors, open junction boxes, or alter string wiring unless the equipment is made safe using the manufacturer’s procedure and the work is performed by a qualified person.

How do I verify the result in the real system?

Deliver. With a closed circuit, charge moves through the load and transfers energy to it.

Sources and further reading

  1. Solar Photovoltaic Cell BasicsU.S. Department of Energy, Solar Energy Technologies Office · 2026-10-11Semiconductor absorption, electron excitation, collection at contacts and PV-cell fundamentals.
  2. Solar Photovoltaic Performance and Efficiency BasicsU.S. Department of Energy, Solar Energy Technologies Office · 2026-10-11Photon losses, electron-hole carriers, recombination, temperature effects and current-voltage measurements.
  3. Solar Photovoltaic Technology BasicsU.S. Department of Energy, Solar Energy Technologies Office · 2026-10-11Cells, modules, arrays and conversion of module DC output for an AC system.
  4. NIST Guide to the SI, Chapter 4: The Two Classes of SI Units and the SI PrefixesNational Institute of Standards and Technology · 2026-10-11Authoritative definitions and relationships for volts, amperes, watts and joules.
  5. Basic Research Needs for Solar Energy UtilizationU.S. Department of Energy, Office of Basic Energy Sciences · 2026-10-11Technical description of p-type and n-type semiconductors, junction fields, charge separation and external contacts.
Educational image