In this CGP Grey video, he claims that caffeine was responsible for the enlightenment because people went from drinking mostly alcohol to caffeine.
Follow-up: The video also claims that during the 1600s people drank more beer and gin than water. Is this true?