Kanamycin is an antibiotic medication used to treat bacterial infections. It belongs to a class of drugs called aminoglycosides. Kanamycin works by inhibiting the growth and spread of bacteria in the body, thereby helping to control and eliminate the infection. It is commonly used to treat infections caused by bacteria such as Escherichia coli, Klebsiella pneumoniae, and Mycobacterium tuberculosis.