Creature shards are obtained by sacrificing creatures. The amount of shards you get for a creature depends on its age, level, tokens, rarity, transfer count (lower is better), and the amount of shards currently invested in it.
Creature shards can be used to add special abilities to creatures of the same type.