A flagellum is a lash-like cellular appendage that protrudes from some prokaryotic and eukaryotic cells. It functions in locomotion and mobility as well as sensory perception. Flagella are present in bacteria like Helicobacter pylori and in sperm cells.