The first step of the reaction is nucleophilic substitution reaction in which ammonia being a strong nucleophile will substitute chloride ion and amide will be formed in place of acid chloride. In 2nd step Hoffmann degradation reaction will take place and will give aniline in place of amide.




