A broad-spectrum antibiotic can be used to treat a wide range of infections. A narrow-spectrum antibiotic is only effective against a few types of bacteria. There are antibiotics that attack aerobic bacteria, while others work against anaerobic bacteria. Aerobic bacteria need oxygen, while anaerobic bacteria don't.