To detect and interpret stimuli, responds to sensory output, working as the control center, maintaining homeostasis, and maintaining mental activity, among many other functions.