There is a need to have a medium of exchange for trade. Barter has its limitations. For all of history, people have created new forms of money for exchange. The primary characteristics you would need is scarcity, clear ownership, transferability and fungibility. Gold serves this purpose, and Bitcoin even more so.
The fact that gold is a shiny pebble is not adding anything meaningful to the conversation.