What the function of flagella?

If I remember my biology correctly, flagella are what a microorganism uses for movement.

This link goes more in depth than I can, however:

http://www.newworldencyclopedia.org/entry/Flagella