Cells that are designed to convert the energy of combustion of fuels like hydrogen, methane, methanol, etc. directly into electrical energy are called fuel cells.
Combustion of fuels such as hydrogen, CO and CH4 is the basis of obtaining electrical energy in fuel cells.