Sodium extract (Lassaigne's extract) is boiled with dilute HNO3 before testing for halogens to decompose NaCN or Na2S present in the Lassaigne's extract otherwise these will produce white ppt. with AgNO3 and would thus interfere with the test of halogens.