Cognition psychology and functions of brain