Amniocentesis is a procedure in which a small amount of amniotic fluid is removed from the mother's womb in order to detect abnormalities of the fetus.