The sensor allows the pilot light to be automatically re-ignited if the flame is no longer present. The circuit is a surprisingly simple one, with a PNP transistor being turned on by the flame ...