Carbapenems are a class of broad-spectrum beta-lactam antibiotics highly effective against many Gram-positive and Gram-negative bacteria. They are often used as a last resort for treating severe bacterial infections that are resistant to other antibiotics.