An instrument called a photovoltaic solar cell is used to convert sunlight into electrical power. It works according to the phenomenon known as the “photoelectric effect”. When sufficiently energetic photons of light interact with metal, electrons disengage from it and take flight, entering metal conducting wires as an electrical current.