Governments of all the countries, including the United States of America, have five purposes. They are defense, national identity, representation, social welfare, and infrastructure. A government, basically, has three branches - the Executive, the Legislative, and the Judicial.