a solar cell is an electrical device that converts the energy of light directly into electricity.