Heterocyclic compounds are those cyclic compounds whose ring contain besides, carbon, one or more atoms of other elements. The non-carbon atoms such rings are referred to as hetero atoms. The most common hetero atoms are nitrogen, sulphur and oxygen. The heterocyclic compounds having lesser common atoms such phosphorus, tin, boron, silicon, bromine, etc. have been a subject of much investigation in recent years. The heterocyclic compounds having three to six carbons in the ring are numerous, but only those having five or six atoms in the ring are by far the most important.
Heterocyclic compounds are very widely distributed in nature and are particularly important because of the wide variety of physiological activities associated with this class of substances. Several of the important compounds contain heterocyclic rings, eg most o the members of vitamin B complex, alkaloids, antibiotics, chlorophyll, other plants pigments, amino acids, dyes, drugs, enzymes, the genetic material, DNA etc. Few of the basics rings of the heterocyclic compounds are listed below. 1