What is the function of tail in sperm?

What is the function of tail in sperm?