Ampicillin is a semi-synthetic bactericidal antibiotic in the penicillin family. It primarily acts on Gram-negative bacteria by inhibiting bacterial cell-wall synthesis via inactivating transpeptidases on the inner surface of the bacterial cell membranes.