The Gem Cutting Table is used to upgrade Gems.
Upgrading a Gem usually costs Gem Dust, Rarity Materials, and a second Gem of the same purity.
Upgrade Costs
The cost of upgrading a Gem increases with its Purity.
Stronger gems require more Gem Dust and higher-tier Rarity Materials.
The exact cost to upgrade a gem can be seen in JEI.