Antibiotics are a type of a powerful drug that are used to treat bacterial infections. It works by either killing the bacteria or by inhibiting…