Man has always been a social animal; meaning that he cannot exist in isolation. There's this intricate happiness and sense of purpose that is embedded in communal living. Hence, the need for a community.
However, conflicts ensues when interests are introduced. Therefore, every society that seeks to reduce conflicts to the barest minimum should adopt a contractual agreement that protects the common interests of all.
Beautiful writeups.