Gems are a form of currency, just like coins and energy. Use them to buy special animals, mystery boxes, and gold. 

You get gems by:

  1. Leveling up. Some items will earn coins and gems once you are at a high level (for example a level 4 fountain). 
  2. Buy them from iTunes.