A photovoltaic (solar) cell is an electrical device that converts light energy directly into electricity by the photovoltaic effect, namely the creation of a voltage or electric current in a material upon exposure to light.
Photovoltaic devices are based on semiconducting materials.