Both of these animals are perfect pets but can be better suited for different people.
Cats are very easy to take care of compared to dogs because cats are very independent. They dont require the constant pressence of their owner and are perfectly fine being aloner for periods of time. This allows people who have busy lives or busy schedules to own a pet that does not require as much attention and care as a dog. Cats also are perfect pets for individuals who live in areas with less space like apartments.
Dogs require more attention than cats which means the owner must be available and willing to put in the work which comes with owning a dog. This means the owner needs to be diligent with walking the dog daily which is not something everyone is able to do. Dogs also require more space than a cat would which might not suit everyone as well.
Having either of these pets still requires the owner to put time and effort into them. So know what you’re getting into by doing research about the animal you intend on keeping as a pet in order to give it the exact care it needs.