The working principle of all today’s solar cells is essentially the same. It is based on thephotovoltaic effect.
In general, the photovoltaic effect means the generation of a potential difference at the junction of two different materials in response to visible light or other radiation.