In Lassaigne’s test for halogens, it is necessary to remove X and Y from the sodium fusion extract, if nitrogen and sulphur are present. This is done by boiling the extract with Z. Identify X, Y and Z.