Hello Zeeshan,
According to me Pyridine is more basic than both Pyrrole and Aniline. In case of Pyridine and Aniline the nitrogens in pyridine the electron density at nitrogen seems to get increased due to resonance. So it can donate pair of electrons comparatively easily. In case of Pyridine and Pyrrole , as both N are sp2, we can simply compare basicity by observing the electronic effects only. As lone pair of N in pyrrole is in resonance so this lone pair can't be donated wheareas the lonepair of N in pyridine is localised and hence ready for donation. Also Aniline is more basic than Pyrrole. So according to me the order can be P yridine being the most basic then Aniline and then Pyrrole.
I hope this helped
All the best
Question : Which of the following is a primary arylamine in which an amino functional group is substituted for one of the benzene hydrogens?
Regular exam updates, QnA, Predictors, College Applications & E-books now on your Mobile