Prokaryotic flagellum. Unlike an eukaryote flagellum, the motor of the prokaryotic flagellum is a basal apparatus embedded in the plasma membrane. A curved hook turns to rotate the attached filament, which is composed of the protein flagellin. This allows the cell to respond to a stimulus in a directional movement called taxis.
Diversity of prokaryotic motility: