Motivation plays a crucial role in influencing human behavior and decision-making processes. It can be understood through various psychological theories and frameworks. One such theory posits that motivation can be categorized into intrinsic and extrinsic types. Intrinsic motivation refers to engaging in behavior because it is personally rewarding, while extrinsic motivation involves performing a behavior to earn rewards or avoid punishment. With this context in mind, consider the following scenario:
A student studies late into the night to achieve a personal goal of learning a new subject thoroughly. What type of motivation is primarily demonstrated in this scenario?