Amoxicillin stops the bacteria from making their cell walls. This leads to the destruction of the bacteria. It's very effective against certain bacteria that often cause kidney infections.