What is the purpose for the amniotic sac fluid?

The amniotic fluid has got mainly a protective function. This fluid gives the baby, total freedom of movement in mother's womb.