You get Gems for finished runs, and the amount you get is 10% of your total score. They're for unlocking lore in the Archive and some achievements. :)