Caffeine is a
central nervous system (CNS)
stimulant of the
methylxanthine class. It is the world's most widely consumed
psychoactive drug, but — unlike many other psychoactive substances — it is legal and unregulated in nearly all parts of the world. There are several known mechanisms of action to explain the effects of caffeine. The most prominent is that it reversibly blocks the action of
adenosine on its receptor and consequently prevents the onset of drowsiness induced by adenosine. Caffeine also stimulates certain portions of the
autonomic nervous system.