Some species of bacteria have developed the ability to resist the effect of antibiotics. Which statement best explains this ability?