Amoxicillin is a similar antibiotic to penicillin. It works by killing the bacteria that cause the infection.