Eating sugar has been found to help people solve puzzles.
Researchers found sweet foods can help boost creativity and improve performance on analytical and attention-to-detail tasks.
The study, carried out by the University of North Texas, found humans associate sweet tastes with positive experiences.
It's believed people are more likely to adopt an explorative mindset when they feel happier and less threatened.