Microorganisms can inherit genetic information through reproduction, either by vertical gene transfer (from parent to offspring) or horizontal gene transfer (between unrelated organisms).