One of the most common types of gas safety valves is the thermocouple valve, which is often found in gas-powered water heaters and furnaces. This valve is activated by the heat of the pilot light, which generates a small electric current that keeps the valve open. If the pilot light goes out, the thermocouple cools down, causing the valve to close and cut off the gas supply

gas safety valve.