Amniocentesis is a procedure whereby a sample of fluid is removed from the amniotic sac for analysis. The amniotic sac is in the uterine cavity. The amniotic sac is the fluid-filled structure inside a pregnant woman's uterus within which the baby lives. Fetal cells, proteins, and fetal urine freely move within this sac.