The 2nd analytical group of cations consists of ions which form acid-insoluble sulfides. Cations in the 2nd group include: Cd, Bi, Cu, As, As, Sb, Sb, Sn, Sn and Hg. Pb is usually also included here in addition to the first group. Although these methods refer to solutions that contain sulfide (S), these solutions actually only contain HS and bisulfide (HS).  Sulfide (S) does not exist in appreciable concentrations in water.
The reagent used can be any substance that gives S ions in such solutions; most commonly used are hydrogen sulfide (at 0.2-0.3 M), thioacetamide (at 0.3-0.6 M), addition of hydrogen sulfide can often prove to be a lumbersome process and therefore sodium sulfide can also serve the purpose.  The test with the sulfide ion must be conducted in the presence of dilute HCl.  Its purpose is to keep the sulfide ion concentration at a required minimum, so as to allow the precipitation of 2nd group cations alone. If dilute acid is not used, the early precipitation of 4th group cations (if present in solution) may occur, thus leading to misleading results. Acids beside HCl are rarely used. Sulfuric acid may lead to the precipitation of the 5th group cations, whereas nitric acid oxidises the sulfide ion in the reagent, forming colloidal sulfur.
The precipitates of these cations are almost indistinguishable, except for CdS, which is yellow. All the precipitates, except for HgS, are soluble in dilute nitric acid. HgS is soluble only in aqua regia, which can be used to separate it from the rest. The action of ammonia is also useful in differentiating the cations. CuS dissolves in ammonia forming an intense blue solution, whereas CdS dissolves forming a colourless solution. The sulfides of As, As, Sb, Sb, Sn, Sn are soluble in yellow ammonium sulfide, where they form polysulfide complexes.
This group is determined by adding the salt in water and then adding dilute hydrochloric acid (to make the medium acidic) followed by hydrogen sulfide gas. Usually it is done by passing hydrogen sulfide over the test tube for detection of  1st group cations. If it forms a reddish-brown or black precipitate then Bi, Cu, Hg or Pb is present. Otherwise, if it forms a yellow precipitate, then Cd or Sn is present; or if it forms a brown precipitate, then Sn must be present; or if a red orange precipitate is formed, then Sb is present.
:Pb + KCrO → PbCrO + 2 K
Confirmation test for copper:
:2 Cu + K[Fe(CN)] + CHCOOH → Cu[Fe(CN)] + 4 K
:Cu + 2 NaOH → Cu(OH) + 2 Na
:Cu(OH) → CuO + HO (endothermic)
Confirmation test for bismuth:
:Bi + 3 KI (in excess) → BiI + 3 K
:BiI + KI → K[BiI]
:Bi + HO (in excess) → BiO + 2 H
Confirmation test for mercury:
:Hg + 2 KI (in excess) → HgI + 2 K
:HgI + 2 KI → K[HgI] (red precipitate dissolves)
:2 Hg + SnCl →  2 Hg + SnCl (white precipitate turns gray)