Its scarcity. The US Federal Reserve can create dollars at their discretion, but they can't change the chemical composition of the earth's crust. You can think of gold as insurance against fiat currencies being debased by their issuing governments. You can also be pretty sure that it will be valuable anywhere you go.