Stars are awarded when you complete levels. They can be used to purchase hints and bonuses in the Shop or to skip levels that you find too difficult. Diamonds are the premium currency that allows you to purchase items in the Shop or skip levels without using your stars.