In Icewind Dale II, players often scoop up gems and wonder whether they serve any real purpose. The short answer is that they're mostly valuable loot rather than quest-critical items.
Their main use is as goods to sell for gold, which you can then spend on equipment, supplies, and upgrades. So while you don't need them to progress, holding onto a few until you reach a good merchant can pad your coin purse nicely.