A safety device that's used to detect whether or not your furnace's pilot light is lit is a thermocouple. The metal rod is close to the pilot light's flame. The gas valve is connected to this rod.
Let's Get It Fixed!
HomeX virtual experts will assess your issue (for free!) and can resolve simple problems.