This document provides information about heterocyclic chemistry. It defines heterocyclic compounds as organic compounds containing a ring structure with atoms other than carbon, such as nitrogen, oxygen, or sulfur. It notes that two-thirds of organic compounds are aromatic heterocycles and most pharmaceuticals are heterocycles. Examples of important heterocycles discussed include quinine, Viagra, and anticancer drugs. The document also discusses properties and reactions of common five-membered heterocycles like pyridine, pyrrole, thiophene, furan, and imidazole. It describes how these heterocycles undergo electrophilic aromatic substitution and other reactions. The document concludes by discussing applications of heterocycles like