Both bacteria and archaea are classified as prokaryotes, which means they lack a membrane-bound nucleus and other membrane-bound organelles. Their genetic material (DNA) is located in a region called the nucleoid, which is not enclosed by a membrane.
Eukaryotes, on the other hand, do have a nucleus that contains their DNA. This is a key difference between prokaryotes and eukaryotes.