Barter-based economies are one of the earliest, predating monetary systems and even recorded history. People can successfully use barter in many almost any field. Informally, people often participate in barter and other reciprocal systems without really ever thinking about it as such -- for example, providing web design or tech support for a farmer or baker and receiving vegetables or baked goods in return. Strictly Internet-based exchanges are common as well, for example exchanging content creation for research.
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. 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.
In trade, barter (derived from baretor) is a system of exchange where participants in a transaction directly exchange goods or services for other goods or services without using a medium of exchange, such as money. Economists distinguish barter from gift economies in many ways; barter, for example, features immediate reciprocal exchange, not delayed in time. Barter usually takes place on a bilateral basis, but may be multilateral (i.e., mediated through a trade exchange). In most developed countries, barter usually only exists parallel to monetary systems to a very limited extent. Market actors use barter as a replacement for money as the method of exchange in times of monetary crisis, such as when currency becomes unstable (e.g., hyperinflation or a deflationary spiral) or simply unavailable for conducting commerce.
When exchanging services, it’s important to remember that bartering is considered income. While you may be able to write off expenses you incur during the barter, you must claim the fair market value of the services you provided as income. For example, if you charge $60 an hour as a massage therapist, and you trade a one-hour massage for housecleaning services, you may have to claim the equivalent income. When you trade assets, you may even be responsible for tracking capital gains or losses. If you have any doubts or questions, consult the IRS website.