Today we have currencies to buy things, but there was an era when there were no currencies. People at that times used to exchange things to buy or sell something.
In the given case person used five beaver pelts to buy a bag of rice and two beaver pelts to buy a pair of shoes, so it is a clear indication that the person used a medium of exchange.
Hence, the correct answer is C) medium of exchange