Viruses are classified by their genetic material—either DNA, RNA, or retroviruses—and by their outer component—either enveloped or non-enveloped.