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.
Bartering is the process of obtaining goods or services by direct exchange without the use of currency. In times of economic instability or currency devaluation, it can be a great way to ensure the flow of necessary items and services into your household without using precious funds. Historically, face-to-face exchanges between familiar parties were most common, but the Internet has opened up a new medium for bartering opportunities for both person-to-person exchanges and third-party facilitated transactions.
In England, about 30 to 40 cooperative societies sent their surplus goods to an "exchange bazaar" for direct barter in London, which later adopted a similar labour note. The British Association for Promoting Cooperative Knowledge established an "equitable labour exchange" in 1830. This was expanded as the National Equitable Labour Exchange in 1832 on Grays Inn Road in London. These efforts became the basis of the British cooperative movement of the 1840s. In 1848, the socialist and first self-designated anarchist Pierre-Joseph Proudhon postulated a system of time chits. In 1875, Karl Marx wrote of "Labor Certificates" (Arbeitszertifikaten) in his Critique of the Gotha Program of a "certificate from society that [the labourer] has furnished such and such an amount of labour", which can be used to draw "from the social stock of means of consumption as much as costs the same amount of labour."
Bartering does have its limitations. Many bigger (i.e., chain) businesses will not entertain the idea and even smaller organizations may limit the amount of goods or services for which they will barter (i.e., they may not agree to a 100% barter arrangement and instead require that you make at least partial payment). But in an economic crunch, bartering can be a great way to get the goods and services you need without having to pull money out of your pocket.
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).
But the harm may go deeper than a mistaken view of human psychology. According to Graeber, once one assigns specific values to objects, as one does in a money-based economy, it becomes all too easy to assign value to people, perhaps not creating but at least enabling institutions such as slavery (in which people can be bought) and imperialism (which is made possible by a system that can feed and pay soldiers fighting far from their homes).