Extrachromosomal DNA is critical to the antibiotic resistance found in microorganisms,

Extrachromosomal DNA is critical to the antibiotic resistance found in microorganisms, how do these DNA elements account for this phenomenon?