Gems in Everybody Edits serve two purposes, and which one applies depends on whether you have an account.
For a guest, they do nothing at all, because there is no account for them to attach to. Once you register, gems become the game's donation currency, effectively a way of supporting Chris, the creator, and in return they can be spent in the shop on items and options that energy alone will not buy.
So the practical summary is that gems are optional cosmetic and convenience spending rather than something that affects how you build or play. You can enjoy the game indefinitely without ever touching them.