What is the primary function of a flagellum?
a. To store molecules such as glycogen
b. For motility
c. For attachment to surfaces
d. For attachment to cells