Caffeine is a central nervous system stimulant of the methylxanthine class. It is used as a cognitive enhancer, increasing alertness and attentional performance. Caffeine acts by blocking the binding of adenosine to the adenosine A₁ receptor, which enhances the release of the neurotransmitter acetylcholine.