It is used as a reagent in a reaction in organic chemistry. It is also used to test for arsenic. The arsenic is reacted with hydrogen to make arsine, which reacts with mercury(II) bromide to turn it yellow or brown.