The donuts allow you to jump your Sky Whale (tap on the screen) when it begins to fall down. You can see your donut count in the upper right hand corner.

AR Mode:
Donuts will give you extra time to collect more items.