Polymyxin B is an antibiotic primarily used for treating infections caused by Gram-negative bacteria. It belongs to the polymyxin group of antibiotics, which are cyclic polypeptides with a hydrophobic tail that allows them to interact with bacterial cell membranes.