# why is N in pyrrole sp2 hybridized but not sp3?

why is the lone pair electron of N in pyrrole put in the p orbital but that of pyridine is put into the sp2 orbital? how to determine if lone pair electrons are pi electrons?