Star Pieces increase the amount of Stardust you earn by 50% for a limited period of time. Star Pieces typically last for 30 minutes but may last longer during special events. Keep an eye on the Today View to see what in-game events are in progress.
You can also activate up to 200 Star Pieces at a time to stack the duration of their effects instead of using one every 30 minutes.