What is the purpose of the flagella?

Flagella allow cells to move throughout the body. An example of this is sperm. The flagellum give sperm the ability to propel itself through the female reproductive tract to fertilize an egg.