This sort of scenario was so undesirable that societies must have created money to facilitate trade, argues Smith. Aristotle had similar ideas, and they’re by now a fixture in just about every introductory economics textbook. “In simple, early economies, people engaged in barter,” reads one. (“The American Indian with a pony to dispose of had to wait until he met another Indian who wanted a pony and at the same time was able and willing to give for it a blanket or other commodity that he himself desired,” read an earlier one.)
Companies may want to barter their products for other products because they do not have the credit or cash to buy those goods. It is an efficient way to trade because the risks of foreign exchange are eliminated. The most common contemporary example of business-to-business barter transactions is an exchange of advertising time or space; it is typical for smaller firms to trade the rights to advertise on each others' business spaces. Bartering also occurs among companies and individuals. For example, an accounting firm can provide an accounting report for an electrician in exchange for having its offices rewired by the electrician.
Anthropologists have argued, in contrast, "that when something resembling barter does occur in stateless societies it is almost always between strangers, people who would otherwise be enemies." Barter occurred between strangers, not fellow villagers, and hence cannot be used to naturalisticly explain the origin of money without the state. Since most people engaged in trade knew each other, exchange was fostered through the extension of credit. Marcel Mauss, author of 'The Gift', argued that the first economic contracts were to not act in one's economic self-interest, and that before money, exchange was fostered through the processes of reciprocity and redistribution, not barter. Everyday exchange relations in such societies are characterized by generalized reciprocity, or a non-calculative familial "communism" where each takes according to their needs, and gives as they have.