The indefinite article a is used either to refer to a particular object or being with unknown identity or generically, which is the case of your example.
In the article On the Generic Use of Indefinite Singulars, Ariel Cohen, writes:
The distribution of indefinite singular generics is much more restricted than that of bare plural generics. The former, unlike the latter, seem to require that the property predicated of their subject be, in some sense, "definitional".
This is called indefinite generic. On this Linguistics site, @John Lawler (sound familiar?) writes:
The Indefinite Generic refers to the Definition of a species, that is, those properties that are absolutely necessary for anything to be a member. It doesn't work as the subject of any predicate that isn't definitional. But with a definitional property, it's certainly true for any member.
And that's one of the reasons why the following sentence is ungrammatical:
*A tiger is in danger of becoming extinct.
By this one is saying that being in danger of becoming extinct is one of the defining characteristics of tigerhood, which isn't true, after all. Tigers would still be tigers if they weren't endangered.
Now the quality of cats being smarter than dogs, might be a matter of opinion, but in the mind of the speaker, smartness is a defining element. Which is why this sentence is naturally understood in its generic sense. Certainly, in particular contexts, your sentence can definitely refer to a particular cat and a particular dog.