 They learn by observing us. For instance, let's say you had a rug in your kitchen and the only time you gave your dog a treat is when he was on this rug. You'll notice the dog connects the dots. He figures out that when he's in that place, he gets a treat. So, every time you walk in the room, you'll notice your dog moves to that spot. He even stays in that spot when you're not in the room.