What is a flame scanner in a boiler?

What is a flame scanner in a boiler?