That’s how we make do in our collapsing economy. If somebody has lots of one thing and too little of another, an arrangement can be made. I’ve exchanged corn meal for rice with friends from high school, eggs for cooking oil with my sister-in-law. Street vendors barter, too, taking, say, a kilo of sugar as payment for one of flour. There are Facebook pages and chat-room groups devoted to the swap-ability of everything from toothpaste to baby formula.
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.
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."