If you've ever swapped one of your toys with a friend in return for one of their toys, you have bartered. Bartering is trading services or goods with another person when there is no money involved. This type of exchange was relied upon by early civilizations. There are even cultures within modern society who still rely on this type of exchange. Bartering has been around for a very long time, however, it's not necessarily something that an economy or society has relied solely on.

Whitmer of Florida Barter says that limited and strategic bartering is best. “We’re not going to help anybody pay their electric bill or their mortgage,” he says. “But we can help them maintain their business and get sales they never would’ve had otherwise.” The best barters, he says, are for things you might normally have spent cash on anyway, “like printing, advertising, marketing, or promotional T-shirts with your logo on it.”
Then again, it’s one thing to keep a community alive and well when everyone’s camping in a forest and they’ve all opted in to that vision. It’s quite another to imagine a gift economy enabling humans to build skyscrapers, invent iPhones, put air conditioners in every house, and explore space. (The same goes for collecting taxes and running large businesses.) Not that it’s an all-or-nothing situation: We already have gift economies among friends and family. Perhaps expanding that within small communities is possible; it’s certainly desirable.
Adam Smith, the father of modern economics, sought to demonstrate that markets (and economies) pre-existed the state, and hence should be free of government regulation[citation needed]. He argued (against conventional wisdom) that money was not the creation of governments. Markets emerged, in his view, out of the division of labour, by which individuals began to specialize in specific crafts and hence had to depend on others for subsistence goods. These goods were first exchanged by barter. Specialization depended on trade, but was hindered by the "double coincidence of wants" which barter requires, i.e., for the exchange to occur, each participant must want what the other has. To complete this hypothetical history, craftsmen would stockpile one particular good, be it salt or metal, that they thought no one would refuse. This is the origin of money according to Smith. Money, as a universally desired medium of exchange, allows each half of the transaction to be separated.[3]

Another advantage of bartering is that you do not have to part with material items. Instead, you can offer a service in exchange for an item. For instance, if your friend has a skateboard that you want and their bicycle needs work, if you are good at fixing things, you can offer to fix their bike in exchange for the skateboard. With bartering two parties can get something they want or need from each other without having to spend any money.
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: