#1 Caffeine potently blocks an inhibitory neurotransmitter in the brain, leading to a net stimulant effect. Controlled trials show that caffeine improves both mood and brain function.
See more here: http://www.popsci.com/science/article/2013-02/why-coffee-good-you-here-are-7-reasons