2HgS(s) + 3O2(g) -> 2HgO(s) + 2SO2(g)
Then, Mercury (II) Oxide is heated to about 300oC and it undergoes decomposition to form mercury metal.