thermocouple is a flame failure divice once the pilot is lit it keeps the gas valve open