Viruses can infect both prokaryotes and eukaryotes, causing disease or cell death.