Cats are scary smart.
I am 100% a crazy cat man. I have one cat that every night at the same time finds my brother and either sits staring at him or follows him around until he takes the dog for her evening walk. Not so he'll take the dog out, she has worked out that when the dog goes for her evening walk, she gets treats. She is smart enough to adjust when the clocks change.
I have another, an old death machine lady. I can sit on my bed and she'll ignore me, stay in her own old bed (bought her a new pretty one, she ignores it). But if I sit on my bed when feeling sick or with a migraine, she's out of the bed, curled up beside me, purring her murderous little heart out.
A third cat has worked out the difference between going into the fridge to get milk or yoghurt, or something else. If it's either of the first two, you close the fridge and she's there waiting for her share.
Generic cat smarts. Their cry is similar to that of a baby, so we'll pay attention. They only talk to us, they don't talk to each other or other animals. It's all about interacting with us, coning us into thinking we're special.
Almost forgot, but I read a paper many, many years ago that said a cats purr was part of a healing mechanism, that also works on humans.