Economists since the times of Adam Smith (1723-1790), looking at non-specific pre-modern societies as examples, have used the inefficiency of barter to explain the emergence of money, of "the" economy, and hence of the discipline of economics itself. However, ethnographic studies have shown that no present or past society has used barter without any other medium of exchange or measurement, nor have anthropologists found evidence that money emerged from barter, instead finding that gift-giving (credit extended on a personal basis with an inter-personal balance maintained over the long term) was the most usual means of exchange of goods and services.
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:
On the positive side, there are great advantages to bartering. As mentioned earlier, you do not need money to barter. Another advantage is that there is flexibility in bartering. For instance, related products can be traded such as portable tablets in exchange for laptops. Or, items that are completely different can be traded such as lawn mowers for televisions. Homes can now be exchanged when people are traveling, which can save both parties money. For instance, if your parents have friends in another state and they need somewhere to stay while on a family vacation, their friends may trade their home for a week or so in exchange for your parents allowing them to use your home.
In the United States, Karl Hess used bartering to make it harder for the IRS to seize his wages and as a form of tax resistance. Hess explained how he turned to barter in an op-ed for The New York Times in 1975. However the IRS now requires barter exchanges to be reported as per the Tax Equity and Fiscal Responsibility Act of 1982. Barter exchanges are considered taxable revenue by the IRS and must be reported on a 1099-B form. According to the IRS, "The fair market value of goods and services exchanged must be included in the income of both parties."
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.