Batteries do this.
Perhaps you are talking about biological cells. There are organisms that give off light, and these cells are referred to as fuel cells.
A photo-voltaic cell.
A battery or a fuel cell converts chemical energy directly to electrical energy
A cell in a rechargeable battery does that when it's being recharged.
I might be wrong on this one, but I believe it is either a cell or a photocell. A cell would be correct, a photocell converts light energy into electrical energy.
Photovoltaic cell
The chloroplast converts light energy into chemical energy in a photosynthetic cell, such as a plant cell or algal cell.
Photovoltaic
a PHOTOVOLTALIC cell
Which device converts chemical energy into electrical energy? *
an electrochemical cell
Chemical energy into light energy more specifically i.e. dry cell converts chemical energy into electrical energy flashlight converts electrical energy into light energy
A photo-voltaic cell.
Mitochondria
The chloroplast which contains chlorophyll.
A battery or a fuel cell converts chemical energy directly to electrical energy
Generator that utilizes Hydrogen is called "Fuel Cell" it is an Electrochemical Energy Conversion Device that converts the chemicals Hydrogen and Oxygen into Water and during this process the Electricity is generated.
Mitocondria