Caffeine is a central nervous system stimulant of the methylxanthine class and is the most commonly consumed psychoactive substance globally. It is mainly used for its eugeroic, ergogenic, or nootropic properties. From Wikipedia
An EEG and AI study reveals that caffeine before bed alters sleep waves most in younger adults with possible consequences for memory processing.