The prefrontal cortex carries out functions that include planning, working memory, motivation, attention, and executive control.