Using gems you can grab your skills through other resources such as elixir, gold, and dark elixir. You will need gems to get additional items such as a builder’s hut, a pirate flag, and a mighty statue and these require a HUGE amount of gems. By using these Gems you can purchase shields and speed up the production of your barracks using the bulk amount of gems.