Money is just a convention used to regulate commercial transactions. In the ancient times it was useless because people lived in small villages, commerce was not developed so they used barter to exchange stuff between them. Nowadays it is impossible to do (at least on a world-scale) because commerce and markets are too gone too far...
Commerce is producing all kind of crazy things. "Hey, you want a fidget spinner? Sure, here you go. We apparently have so many resources we can create these things too."