Antimicrobial resistance occurs when microbes evolve mechanisms that protect them from antimicrobials, which are drugs used to treat infections. This resistance affects all classes of microbes, including bacteria, viruses, parasites, and fungi.