Aniline does not undergoes Friedel-Craft reaction due to the Lewis basicity of nitrogen atom in aniline, which react with Lewis acid catalyst ( AlCl3 ), forming complex that deactivates the benzene ring and undergoes further electrophilic substitution.