When bacteria are exposed to an antibiotic such as penicillin, most are killed. However, some individual bacteria have a mutation giving resistance to the antibiotic. The bacteria may be able to produce an enzyme that breaks down the antibiotic. These individual bacteria survive to reproduce (through binary fission) and pass the gene for resistance to their offspring.