The main way to earn in Animal Jam is by playing the mini-games — they award gems, which are the game's standard currency. Daily spins and the daily gift add a bit on top.
Beyond that, membership and the game's paid currency (diamonds) are separate systems, so don't confuse gems earned through play with the premium currency you buy.