The correct answer to this question is Operant conditioning. It is a form of learning. With this learning, a person changes their behavior once they know the consequences of the behavior. Operant conditioning is also something that animals learn. Many consequences may occur, including punishment such as an arrest or suspension from school or there can be reinforcement, which can be positive or negative.
Operant conditioning has four different contexts, which are positive reinforcements, which can be anything like someone saying a Good Job. Or there can be a negative reinforcement, which could be someone saying, "I am disappointed in you."
Operant conditioning is a method of learning that occurs as rewards and punishment for behaviors. It is based upon the notion that actions that are followed by positive reinforcement will be strengthened and more likely to happen again in the future. For example, if you are out of the bar and your ambition is to pick someone up, if a line works on the first try, you may be likely to use it again.
Or, at least, come up with new lines; however, if you go into a new bar and try out a line and it is returned to you with a slap in the face that line might never be repeated. This is because no one wants to be slapped in the face, which is what is known as operant conditioning, which is a system based on both positive and negative responses.