Aniline is a primary amine (contains −NH2 group). When it is treated with chloroform under alkaline conditions, it results in the formation of a bad smelling compound, known by the name isonitrile or carbylamine. This reaction is known as carbylamine reaction.