Cats have good memories. They remember persons who treat them kindly and those who are cruel to them. If you kick your cat, it will remember your unkindness and will learn to avoid you. But if you are good to it, it will think of you as a friend.
Read whole article here: A Beginner's Guide on Making a Pet Cat Happy