Understanding personality theories can shed light on individual variations in behavior and thought processes. One such theory is the social-cognitive theory, which emphasizes the role of observational learning and environmental factors in shaping personality. According to this theory, a person's personality is a result of the interplay between their cognitive processes and the environment. Which of the following statements best describes a key aspect of the social-cognitive theory of personality?