What are heterocyclic compounds? Give examples.
Cyclic compounds containing one or more heteroatoms (atoms other than C and H) in their rings are called heterocyclic compounds. They are further classified into two types:
(i) Alicyclic heterocyclic compounds: Aliphatic cyclic compounds containing one or more heteroatoms in their rings are called alicyclic heterocyclic compounds. For example,
(ii) Aromatic heterocyclic compounds: Aromatic cyclic compounds containing one or more heteroatoms in their molecules are called aromatic heterocyclic compounds. For example,