When H2S gas is passed through the HCl containing aqueous solution of CuCl2,HgCl2,BiCl3 and CoCl2 then CuCl2+H2S⟶black pptCuS↓+2HCl HgCl2+H2S⟶HgS↓+HCl 2BiCl3+3H2S⟶Bi2S3+6HCl
These are the alkaline radical of II A group. These radical precipitate in the presence of dil. HCl and H2S. Co is the alkaline radical of IV group which is precipitated in the presence of H2S gas and NH4OH. Its reason that the solubility product of sulphide of II nd group is lesser than the solubility product of sulphide of IV group. So, CoS will not precipitate.