Pyridine is a basic heterocyclic organic compound with the chemical formula C5H5N. It is structurally similar to benzene but with one methine group replaced by a nitrogen atom. Pyridine has a planar ring structure due to sp2 hybridization of its atoms. It is aromatic according to Huckel's rule. Pyridine is more basic than pyrrole due to its nitrogen lone pair participating less in resonance. Several methods can be used to synthesize pyridine including the Hantzsch synthesis and from 1,5-dicarbonyl compounds. Electrophilic substitution occurs predominantly at position 3 of the pyridine ring. Pyridine undergoes reactions typical of