Hairlike structure that acts mainly as an organelle of movement in the cells of many living organisms. Characteristic of the protozoan group Mastigophora, flagella also occur on the sex cells of algae, fungi (seefungus), mosses, and slime molds. Flagellar motion causes water currents necessary for respiration and circulation in sponges and cnidarians. Most motile bacteria move by means of flagella. The structures and patterns of movement of flagella in prokaryotes differ from those in eukaryotes. See alsocilium.