Aniline gives benzenediazonium chloride with aqueous nitrous acid (HNO2) at lower temperatures such as 0-50C. If aqueous solution is at room temperature, benzene diazonium chloride hydrolysis to phenol easily. Benzene diazonium is only stable in low temperatures.
At room temperature, phenol is given as the product. As an intermediate product, benzenediazonium chloride is given. But, benzenediazonium chloride is not stable at the room temperature and readily decomposes to phenol. With that, nitrogen gas is produced too.
Reduce the temperature to below than 50C. It is perfect to use 0-50C temperature. So, mix aniline and nitrous acid at 0-50C temperature. You will get benzenediazonium chloride. Remember that, you have to maintain that 0-50C temperature throughout the reaction and after the reaction to protect benzenediazonium chloride from decomposition.
Nitrous acid (HNO2) is prepared when you require it because we cannot store it for long time due to its spontaneous decomposition to nitric acid and nitric oxide (NO).
Questions asked by students.
No. You will get phenol or benzenediazonium chloride according to the temperature of the reaction medium. When aniline (C6H5NH2) reacts with nitrous acid (HNO2) at room temperature, phenol is given as the product.
If benzene diazonium chloride reacts with nitrous acid at room temperature, nitrogen gas is emitted.