The amniotic fluid surrounds the embryo, providing a cushioning effect that protects against mechanical shocks. It also helps maintain a constant temperature and allows the embryo to move, which is crucial for musculoskeletal development. The fluid contains various growth factors and antimicrobial peptides that contribute to the embryo's protection.