what is the main advantage of using money instead of bartering?

Money as medium of exchange