The thermocouple on your gas fireplace is a heat-sensitive device that keeps the pilot gas tube open while the pilot is lit. ... The thermopile is a related device that you should test at the same time -- its function is to open the gas to the burners.Jul 9, 2015