A generator burns fuel to heat a material that emits light. The light is then filtered and converted into electricity in photovoltaic (PV) cells.
The heat source could also be sunlight.
The photovoltaic cell that is designed to maximize conversion efficiency at the wavelength of the thermal radiation.
See also: Photovoltaic Cell.