2
$\begingroup$

I want to know the reason why,

Pyrrolidine

enter image description here

is more basic than,

Piperidine

enter image description here

Mainly I want to know what affect does the ring structure have on basicity and how does 5 membered rings and 6 membered rings containing a electron rich atom, affect the basicity?

$\endgroup$