Aniline is an organic compound with the formula C6H7N. Aniline is the simplest and one of the most important aromatic amines, being used as a precursor to more complex chemicals.