- In the first reaction, the nitrile is reduced to an amine, which is then diazotized to form an alcohol.
- In the second reaction, nitrobenzene is reduced to aniline, which is then diazotized to form the diazonium ion, followed by hydrolysis to give phenol.