Heterocyclic compound is a major class of organic chemical compounds characterized by some or all of the atoms in their molecules are joined in rings containing atleast one atom of an element other than carbon.