Describe the mode of action of a β-lactam antibiotic. Why

Describe the mode of action of a β-lactam antibiotic. Why are these antibiotics generally more effective against gram-positive bacteria than against gram-negative bacteria?