Beta lactam antibiotics include penicillins, cephalosporins, carbapenems, and monobactams. They share a common beta lactam ring structure and inhibit bacterial cell wall synthesis. Penicillins are classified based on their antimicrobial spectra. They are effective against gram-positive bacteria by inhibiting the last step of peptidoglycan synthesis. Bacteria develop resistance through beta-lactamases or modifying penicillin binding proteins. Common penicillins include benzylpenicillin, phenoxymethylpenicillin, aminopenicillins, antipseudomonal penicillins, and isoxazolyl penicillins. They are used to treat various bacterial infections.