Gems are a valuable resource and serves as main currency in this world. Should you ever run out of these rocks, you can always purchase more in the shop when you click on the shop symbol on the bottom left of your home screen or when you select the + next to the amount of your Gems on the top right of your home screen.