Source
Eating chocolate help's retain information.
Eating chocolate while studying help's the brain retain new information more easily, and has been directly linked to higher test scores.
So there you go, never feel hesitant to have a bite of chocolate while studying.