Bartering denotes the trading of one product or service for another Related to this the term barter is when the people within a community exchange goods and services so that money needn't be used.
Exchanging desserts between you and your friend is an example of bartering. In this case the barter is the dessert.