Cats knead with their paws as a behavior carried over from kittenhood when they used the motion to stimulate milk flow while nursing from their mother. This kneading behavior can be a sign of comfort, contentment, or simply a way for cats to mark their territory with scent glands located in their paw pads.