A flagellum (/fləˈdʒɛləm/; pl.: flagella) (Latin for 'whip' or 'scourge') is a hair-like appendage that protrudes from certain plant and animal sperm cells, from fungal spores (zoospores), and from a wide range of microorganisms to provide motility. Many protists with flagella are known as flagellates.
A microorganism may have from one to many flagella. A gram-negative bacterium Helicobacter pylori, for example, uses its flagella to propel itself through the stomach to reach the mucous lining where it may colonise the epithelium and potentially cause gastritis, and ulcers – a risk factor for stomach cancer. In some swarming bacteria, the flagellum can also function as a sensory organelle, being sensitive to wetness outside the cell.