>US dollars
You can pay taxes with dollars and buy oil anywhere in the world. And the US government will send the strongest army in history against anyone who will try to decline US dollars for their oil.
>gold
Gold is naturally rare and has a much wider network of places that will accept it as payment.
>food, medicine, and shelter
Because you can use those for actual real-world things? How is that even comparable?