Alleles are the different versions or variants of a single gene that represent different physiological effects of the gene.
Genes represent the genotype of an organism while alleles denote the phenotype.
A diploid organism has two alleles, one from each parent but when considered as a population, there can be multiple alleles for a single gene like the gene of colour coat in rabbits.
For example, a gene responsible for eye colour has different alleles that are green eye colour, brown eye colour, blue eye colour, etc.
Bacteria:
These are simple unicellular organisms that lack a well-defined nucleus and other membrane-bound organelles.
Escherichia coli, Pseudomonas, Staphylococcus, Lactobacillus etc. are some examples of bacteria.
They have a single set of chromosomes, so as an individual there is only one allele for a particular gene.
But the same gene can have multiple alleles in the population.
Bacteria have a wide range of genes and so they have alleles and some of them can be multiple alleles.
These alleles can denote various distinct traits like virulence, presence of an outer layer of cell wall etc.