Answer :

There are several purposes and necessities of government, but the primary function is to ensure that people exist in a just and prosperous society.