Answer: We rely on the physical traits instead of the DNA when there is no pressence of DNA to be observed.
In case of prokaryotes where there is no true nucleus we need to rely on the physical traits. In case of fossil, no soft tissue is left only hard tissues is left to be studied, in this
There are some more conditions in which there is no pressence of DNA or there is no proper equipment to study DNA.