The amniotic fluid surrounding the fetus in the amniotic sac provides protection, maintains temperature, and acts as a cushion. Amniocentesis is a procedure where a small amount of amniotic fluid is removed between 16-20 weeks of pregnancy using ultrasound guidance. Analysis of amniotic fluid can detect chromosomal abnormalities, neural tube defects, lung maturity, and other conditions.