The ability of microorganisms, especially bacteria [bacterium], to resist or to become tolerant to chemotherapeutic agents, antimicrobial agents or antibiotics. This resistance may be acquired through plasmids containing resistance factors.