Executive function is a complex combination of brain functions that requires analysis of both the cognitive and emotional aspects of a problem or situation.