The optical absorption spectrum of pyridine in hexane consists of bands at the wavelengths of 195, 251, and 270 nm.  With respective extinction coefficients (ε) of 7500, 2000, and 450 L·mol·cm, these bands are assigned to π → π*, π → π*, and n → π*  transitions.
The H nuclear magnetic resonance (NMR) spectrum shows signals for α-(δ 8.5), γ-(δ7.5) and β-protons (δ7). By contrast, the proton signal for benzene is found at δ7.27. The larger chemical shifts of the α- and γ-protons in comparison to benzene result from the lower electron density in the α- and γ-positions, which can be derived from the resonance structures. The situation is rather similar for the C NMR spectra of pyridine and benzene: pyridine shows a triplet at δ(α-C) = 150 ppm, δ(β-C) = 124 ppm and δ(γ-C) = 136 ppm, whereas benzene has a single line at 129 ppm. All shifts are quoted for the solvent-free substances. Pyridine is conventionally detected by the gas chromatography and mass spectrometry methods.