The man who arguably founded modern economic theory, the 18th-century Scottish philosopher Adam Smith, popularized the idea that barter was a precursor to money. In The Wealth of Nations, he describes an imaginary scenario in which a baker living before the invention of money wanted a butcher’s meat but had nothing the butcher wanted.“No exchange can, in this case, be made between them,” Smith wrote.
It is estimated that over 450,000 businesses in the United States were involved in barter exchange activities in 2010. There are approximately 400 commercial and corporate barter companies serving all parts of the world. There are many opportunities for entrepreneurs to start a barter exchange. Several major cities in the U.S. and Canada do not currently have a local barter exchange. There are two industry groups in the United States, the National Association of Trade Exchanges (NATE) and the International Reciprocal Trade Association (IRTA). Both offer training and promote high ethical standards among their members. Moreover, each has created its own currency through which its member barter companies can trade. NATE's currency is the known as the BANC and IRTA's currency is called Universal Currency (UC).
Trade did occur in non-monetary societies, but not among fellow villagers. Instead, it was used almost exclusively with strangers, or even enemies, where it was often accompanied by complex rituals involving trade, dance, feasting, mock fighting, or sex—and sometimes all of them intertwined. Take the indigenous Gunwinggu people of Australia, as observed by the anthropologist Ronald Berndt in the 1940s:
Economic historian Karl Polanyi has argued that where barter is widespread, and cash supplies limited, barter is aided by the use of credit, brokerage, and money as a unit of account (i.e. used to price items). All of these strategies are found in ancient economies including Ptolemaic Egypt. They are also the basis for more recent barter exchange systems.
As Orlove noted, barter may occur in commercial economies, usually during periods of monetary crisis. During such a crisis, currency may be in short supply, or highly devalued through hyperinflation. In such cases, money ceases to be the universal medium of exchange or standard of value. Money may be in such short supply that it becomes an item of barter itself rather than the means of exchange. Barter may also occur when people cannot afford to keep money (as when hyperinflation quickly devalues it).
It’s hard to answer that without actually seeing a modern gift economy in action. Luckily, modern gift economies actually do exist. On a small scale, they exist among friends, who might lend each other a vacuum or a cup of flour. There’s even an example of a gift economy on a much larger scale, albeit one that’s not always in operation: The Rainbow Gathering, an annual festival in which about 10,000 people gather for a month in the woods (it rotates among various national forests around the country each year) and agree not to bring any money. Groups of attendees set up “kitchens,” in which they prepare and serve food for thousands of people every day, all for free. Classical economists might guess that people would take advantage of such a system, but, sure enough, everyone is fed, and the people who don’t cook play music, set up trails, teach classes, gather firewood, and perform in plays, among other things.