Beta lactam and non beta lactam are two types of antibiotics that work against bacteria either by killing bacteria or inhibiting their growth.