Where is the flagella in bacteria?

flagella are present in outside the cell wall of bacteria and these are different types according to their size. these are having hair like structure.