The given reaction is called carbylamine reaction p-amine or anilineRNH2+CHCl3+alc3K⋅OH⟶Alkyl isocyanideRNC+3KCl+3H2O C6H5NH2+CHCl3+3KOH⟶Phenyl isocyanideC6H5NC+3KCl+3H2O
All isocyanides are foul smelling compound.
This is a test to identify primary amines.