Describe the function of these structures as they relate to cognition affect and behavior.