Explain how bacteria developed antibiotic resistance. Also give an example from real life when this happened.