In case of Lassaigne’s test of halogens, it is necessary to remove NaCN and Na 2 S from the sodium extract, if nitrogen and sulphur are present.
This is done by boiling the sodium extract with conc.
HNO 3 .
NaCN + HNO 3 NaNO 3 + HCN Na 2 S + 2HNO 3 2NaNO 3 + H 2 S