What is the role of flagella?

The flagella helps microscopic organisms to locomote from one place to another for example amoeba moves by the help of flagella...