A heterocyclic compound contains at least one atom other than carbon (such as O, N, S) in its ring structure. An aromatic compound is cyclic, planar, conjugated, and obeys Hückel's rule (4n+2 pi electrons).