Cats are solitary animals, unlike dogs who live in packs. The only time a cat ever has a close relationship with another cat is its mother. If you adopted your cat when it was young, it probably thinks that you are its mother. The kneading motion is something that the kittens used to do to their mother, presumably to get her attention/affection/ and to get her to feed them.