A flame sensor is a safety device used in gas appliances to detect the presence of a flame. It is typically mounted near the burner and uses a variety of methods to detect the flame, such as by sensing heat, light, or electrical conductivity. If the flame sensor does not detect a flame, it will shut off the gas supply to the appliance.
Flame sensors are an important safety feature in gas appliances. They help to prevent gas leaks and explosions by ensuring that the gas supply is only turned on when there is a flame present. Flame sensors are also required by law in many countries.