Gems are the reward of the game. You can get it in many ways. Like in daily activities, you can win the reward. Moreover, you can get them as rewards after completing the challenges and competitions.