Beta-lactamase is a type of enzyme produced by some bacteria that is responsible for their resistance to beta-lactam antibiotics like penicillins, cephalosporins, cephamycins and carbapenems. These antibiotics have a common element in their molecular structure: a four-atom ring known as a beta-lactam. The lactamase enzyme breaks that ring open, deactivating the molecule's antibacterial properties.