There are several disadvantages of the barter economy. Firstly, there has to be double coincidence of wants for exchange to take place. Again the problem of indivisibility of commodities comes in the matter of exchange. Basically such disadvantages and many more called for the emergence of money. Money is used as a common medium of exchange and store of value.
The same thing holds true of all other possessions; for barter, in general, had its original beginning in nature, some men having a surplus, others too little of what was necessary for them: hence it is evident, that the selling provisions for money is not according to the natural use of things; for they were obliged to use barter for those things which they wanted; but it is plain that barter could have no place in the first, that is to say, in family society; but must have begun when the number of those who composed the community was enlarged: for the first of these had all things in common; but when they came to be separated they were obliged to exchange with each other many different things which both parties wanted.
Other anthropologists have questioned whether barter is typically between "total" strangers, a form of barter known as "silent trade". Silent trade, also called silent barter, dumb barter ("dumb" here used in its old meaning of "mute"), or depot trade, is a method by which traders who cannot speak each other's language can trade without talking. However, Benjamin Orlove has shown that while barter occurs through "silent trade" (between strangers), it also occurs in commercial markets as well. "Because barter is a difficult way of conducting trade, it will occur only where there are strong institutional constraints on the use of money or where the barter symbolically denotes a special social relationship and is used in well-defined conditions. To sum up, multipurpose money in markets is like lubrication for machines - necessary for the most efficient function, but not necessary for the existence of the market itself."