Analyze the other options provided: Anchoring to a substrate, absorbing nutrients, and capturing prey are not primary functions of the flagellum. Anchoring would require structures like holdfasts, nutrient absorption occurs through the cell membrane, and capturing prey typically involves specialized structures or mechanisms.