Antibiotic are medicines that are used to prevent various bacterial infections and antibiotic resistance is the inability of a microorganism…