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...