Imagine this : a robber goes into a bank and demands some money. They give him a shell, four goats, six tomatoes and eleven chickens. Before the invention of coin and paper currency, people use such things for buying and selling. This exchange of good and services for other goods and services is called barter.