Ravens are scavengers.

Young ravens often engage in exploration and play with new objects they encounter.

Such play decreases if the object turns out to be inedible; so play and curiosity may help ravens discover what objects are edible.