A heterocyclic compound is a compound that contains atoms of at least two different elements as members of its ring structure. In the case of heterocyclic compounds, the heteroatom is usually an element such as nitrogen, oxygen, or sulfur.
- Pyridine is a heterocyclic compound because it contains a six-membered ring with one nitrogen atom replacing a carbon atom in the ring. This nitrogen atom is the heteroatom in pyridine.
- Benzene, Toluene, and Cyclohexane are not heterocyclic compounds. Benzene and toluene are aromatic compounds with only carbon and hydrogen atoms, while cyclohexane is a saturated hydrocarbon with only carbon and hydrogen atoms.
Thus, Pyridine is the heterocyclic compound.