Viruses: Viruses are a fascinating case. They do not have cells and cannot replicate on their own. Some viruses use DNA as their genetic material, while others use RNA. However, they lack both DNA and RNA simultaneously. They rely on the host cell's machinery to replicate.
Prions: Prions are infectious agents composed entirely of protein. They do not contain any genetic material, neither DNA nor RNA. They cause diseases by misfolding existing proteins in the host organism.
So, while DNA and RNA are the most common forms of genetic material, there are some organisms or infectious agents that do not have either.
Let me know if you'd like to learn more about any of these fascinating examples!