Penicillin when discovered was used as antibiotic against all bacteria. Soon many of these became resistant. This is because alleles of resistance which are already present in bacteria are of no importance in absence of antibiotics. Adjustment to change in environment due to genetic variation is adaptation.
