Note: Selling gems is not recommended. They have many uses and are more valuable to players than what the pricing might suggest. Especially since Gem shop was introduced. If you are selling gems, do it by Trading instead.
Gems are used for...
- Upgrading Tools (and Berserker Amulets/Rings), improving their speed and/or efficiency. You need to socket the gems in order by rarity: Empty -> Sapphire -> Emerald -> Ruby -> Diamond -> Blood Diamond.
- Crafting keys, which are used to open Treasure Chests. The better the key, the more chest slots you have. More chest slots means a higher chance if getting better loot. (see the page on treasure chests for more info)
- Upgrading Rings
- Gem Displays , which are useful for crafting XP and can be sold for some coins, but they are less profitable than Trading.
Blood Crystals are different from other gems, as they are used as a form of currency.