How does a H2S Analyser work?

How does a H2S Analyser work?