Role Of The Church In Medieval Period