Amoxicillin is an antibiotic used for treating bacterial infections. While doctors often prescribe it to treat pneumonia and dental abscesses, it is also given to kids for ear and chest infections.