Aniline (C6H5NH2) → it contains (N) element
Benzene sulfonic acid (C6H5SO3H) → it contains (S)element
Thiourea (SC(NH2)2) → it contains (S&N) element
Test for nitrogen - The carbon and nitrogen present in the organic compound on fusion with sodium metal gives sodium cyanide (NaCN) soluble in water. This is converted into sodium ferro cyanide by the addition of sufficient quantity of ferrous sulphate. Ferric ions generated during the process react with Ferro cyanide to form Prussian blue precipitate of ferric ferrocyanide.
Na+C+N→NaCN
6NaCN+FeSO4→Na4[Fe(CN)6]Sodiumferrocyanide+Na2SO4
3Na4[Fe(CN)6]+4Fe3+→Fe4[Fe(CN)6]3Ferricferrocyanide+12Na+
Test of sulphur - If sulphur is present in the organic compound, sodium fusion will convert it into sodium sulphide. Sulphide ions are readily identified using sodium nitroprusside.
2Na+S→Na2S
Na2S+Na2[Fe(CN)5NO]Sodiumnitroprusside→Na4[Fe(CN)5NOS]Violetcolour
Test for both nitrogen and sulphur - If both nitrogen and sulphur are present in an organic compound, sodium fusion will convert it into sodium thiocyanate which then react with Fe3+ to form blood colour complex [Fe(SCN)]2+
Na+C+N+S→NaSCN
Fe3++3SCN−→Fe(SCN)3(Bloodred)
Note: If the Lassaigne's extract containing excess of sodium metal, sodium cyanide and sulphides are formed instead of sodium thiocyanate.
NaSCN+2Na→NaCN+Na2S
Here in this type of cases, both sulphur and nitrogen are to be identified in separate tests.