Learning is so complex that there are many different psychological theories to explain how people learn. A psychologist named Albert Bandura suggested a social learning theory which shows that observation, imitation (模仿), and modeling play a primary role in this process.
In Albert Bandura's opinion, people can learn through observation. Observational learning doesn't even necessarily require watching another person join in an activity. We can also learn by reading, hearing, or watching the actions of characters in books and films. However, just observing someone else's actions isn't always enough to lead to learning. Your own mental state also plays an important role in determining whether a behavior is learned or not. In addition, though in many cases, learning can be seen immediately when the new behavior is displayed, yet sometimes we can learn things even though that learning might not be immediately obvious, which means people can learn new information without showing new behaviors.
Not all observed behaviors are effectively learned. Certain requirements need to be related to the observational learning process. For example, you need to be paying attention. Also your retention is an important part of observational learning as you need to pull up information later and act on it during the process. Once you've paid attention to the model and kept the information, it's time to actually perform the behavior you observed. Further practice of the learned behavior leads to improvement. Finally, you have to be motivated to imitate the behavior that has been modeled.
Social learning theory have many real-world applications. For example, researchers employ it to look into and understand ways that positive role models can be used to encourage desirable behaviors. Besides, it's also applied in the field of education, and today, both teachers and parents recognize how important it is to model appropriate behaviors.