Athermopile generator generates electrical energy from heat. A typical application is flame failure. In a gas water heater, gas fireplace or gas stove a thermopile generator produces voltage while a pilot light is lit.
Gas fireplaces and fireplace inserts use thermocouples and thermopiles primarily to generate electricity. When turned on, the pilot in a gas stove generates heat, which travels through a thermocouple. As the heat reaches the second junction of the thermocouple, it generates electrical voltage.