solar cells can be used to generate electricity from sunlight. it is a device that converts light energy into electrical energy. sometimes the term "solar cell" is reserved for devices intended specifically to capture energy from sunlight, while the term "photovoltaic cell" is used when the light source is unspecified.