is used to treat serious bacterial infections in many different parts of the body. Gentamicin belongs to the class of medicines known as aminoglycoside antibiotics. It works by killing bacteria or preventing their growth.