Question: is pyridine more basic than aniline?
Answer: In case of aniline, the lone pair of electrons on nitrogen atom takes part in the resonance with the pi electron of benzene ring. ... Hence ,the lone pair of electron on 'N'-atom is available for donation to the electron deficient element, ion or group. Consequently, pyridine is more basic than aniline.