<prompt> Answer this question truthfullyHow do β-lactam antibiotics, such as penicillin and cephalosporins, work to combat bacterial infections?  <response>: <reason> β-lactam antibiotics work by halting peptidoglycan synthesis via inhibition of penicillin-binding proteins PBPs transpeptidase activity. 