A thermopile consists of a number of thermopiles connected together in a series. This produces a higher voltage flame sensing device that detects that pilot light is properly functioning by converting the heat from the pilot light to a tiny amount of electricity. This electric voltage tells the main gas valve the indoor fireplace is ready to be lit.