HORIZONTAL GENE TRANSFER accounts for the immensely varied metabolism, ecological niches of bacteria. They acquire a big part of their genetic diversity from genes from DISTANTLY RELATED SPECIES. Large amounts of genes thus acquired are added and deleted, giving bacteria an enormous genetic repertoire, and contribute to rapidly innovative traits like drug resistance.