Compound ‘C,’ with the molecular formula C6H7N, is created by heating compound ‘B’ with Br2 and KOH, according to the formula. This is a decomposition of Hoffmann bromamide. As a result, compound B is an amide, whereas compound C is an amine. Aniline is the only amine with the chemical formula C6H7N. (C6H5NH2).
Therefore, compound ‘ B ’ (from which ’ C ’ is formed) must be benzamide, (C6 H5 CO NH2).
Further, benzamide is formed by heating compound ‘A’ with aqueous ammonia.
Therefore, compound ‘A’ must be benzoic acid.
The given reactions can be explained with the help of the following equations :