No cat food is not the same as dog food.
Cats need more protein than dogs. If the dog only eats cat food, he gets too much protein and it can even result in protein poisoning. Likewise, cats should also not be fed with dog food because it is too less protein in it for them.