You can't compare them, they are totally different. To make a comparison it has to be like to like, eg a dachsund and a golden retriever.
Cats are all different, I've had a few and no two were alike. Some were very funny, intuitive, affectionate, even kind. Others very independent, wanting everything on their terms. When they play they are individual. They are good company and soothing, especially as they get older and do less - but terribly amusing when young.
Dogs have similar tendencies to each other, are more obedient and respond to instructions. Lovely to take out too.
Ideally I would have one of each, if you get them together young they generally get on.