Gems are a special currency that helps you perform special actions in the game, such as rush and purchase Mystery Boxes, purchase Coins and Energy, and activate Lifelines.
There are multiple ways to get Gems:
Opening a Mystery Box gives you a chance to earn Gems
Placing high enough in your Millionaire League
Purchasing Gems from the store