Aniline is a toxic organic compound.Its main use is in the manufacture of precursors to polyurethane and other industrial chemicals.The largest application of aniline is for the preparation of methylene dianiline and related compounds by condensation with formaldehyde.Aniline is also used at a smaller scale in the production of the intrinsically conducting polymer polyaniline.