An AFT or Amniocentesis is a medical test performed when a woman is 20 weeks pregnant. It is used to look for birth defects and genetic abnormalities in the fetus, and can also determine the baby’s gender. For this test, a doctor uses a needle to remove a small amount of amniotic fluid, which contains fetal tissue. The tissue is then examined.