What practical need underlies the institution of leadership?

Precedence after the Prophets and the Rightly Guided Caliphate