Things such as providing security to its citizens from foreign threats and/or domestic criminals; managing legal immigration (there should be no illegal immigration hence the word illegal); providing a centralized, stable banking system including currency; controlling the public debt.