Humans operate by doing each other favours. You'll find you intuitively know who you've done a favour for and who you owe a favour to. It's inherent to being humans and three year olds can do it - as science has discovered.(https://www.en.uni-muenchen.de/news/newsarchiv/2016/paulus_s...) We all walk around with a favour ledger in our heads.
Essentially "here's a chicken, you owe my a chicken's worth of something sometime".
As groups get larger you end up taking tokens as an IOU aide-memoir. And to nail those who try to cheat.
That then evolves into money. Token money. Tokens representing promises.