An antibiotic is a compound that is active against bacteria and thus is used to prevent and treat bacterial infection