Due to genetic mutations, there is a variation I’m a population of bacteria, so some may randomly mutate to become resistant to the antibiotic. When the popul is treated with the antibiotic, only the highly resistant bacteria survive, and these then reproduce and replicate themselves through binary fission. The gene for resistance is passed on to the offspring.