Now listen to part of lecture on the topic in a psychology class.
This happens all the time with kids in schools.
Say there is a little boy or a girl who's just starting school.
Well, they are not really used to the rules about proper behavior for a classroom.
So at the beginning, they might, I don't know, interrupt the teacher, walk around the classroom when they are supposed to be sitting down, you know just misbehaving in general.
OK, but what happens?
Well, the teacher gets angry with them when they act this way.
They might get punished.
They have to sit at their desks when everyone else is allowed to go outside and play, and they certainly don't like that.
Soon they'll learn that this kind of behavior gets them in trouble.
They'll also learn that when they raise their hand to talk to the teacher and sit quietly and pay attention during class, they are rewarded.
The teacher tells them she is proud of them, and maybe puts little happy face stickers on their homework.
Now that their behavior gets a good reaction from the teacher, the kids learn to always act this way in class and not behave the way they used to.