WebMD notes that research in mice suggests that a compound called DL-3-n-butylphthalide made from seeds in the flowers of the celery plant also "improves learning, thinking, and memory".