They provide the violence to back up the value of the currency. A currency is only as valuable as the courts and ultimately the army that backs it.