Chocolate has been used since ancient times to treat many health complaints.
The impact of chocolate on cognitive function is not well understood.
Chocolate intake was positively associated with cognitive performance.
Mechanisms may involve the action of cocoa flavanols and methylxanthines in chocolate.