Many a cat have been known to live in peace with other cats, dogs, rabbits, tank animals and more. Obviously, pets such as hamsters, guinea pigs and birds may be in danger in the presence of a cat.
However, most cats are much happier living by themselves. Dogs can make cats very uneasy, so you should really try to avoid having both a dog and a cat in the same household.