The process of looking at why a person choose to behave in a particular way by examining how they think and process information is called FUNCTIONALISM.
Functionalism is a method in psychology which involves taking people's mental status and ability into consideration when considering their behavior.