Cats pretty much do what they want, yet it’s still possible to modify their behavior through both rewards and punishments. Conditioning associates stimuli with behavior. For example, a hungry cat may hear a can opener and associate the sound of the can opener with food.
Reinforcement is another way to modify a cat’s behavior. The more the cat does a good behavior, the more it gets positive reinforcement such as food. This makes that behavior increase. A negative reinforcement creates something unpleasant that increases a behavior when it is removed, such as spraying water at a cat clawing a sofa.