Amniocentesis is a prenatal diagnostic test that involves removing a small sample of amniotic fluid from the sac surrounding the…