Currency is just a fungible way of trading value. It means you don't need to use barter. A government could easily print enough currency to represent all the debt available, but they'd want to own the corresponding assets and income streams in return.