The correct option is
B taking out of cells near the fetus
Amniocentesis is a procedure in which amniotic fluid is removed from the uterus for testing or treatment. Amniotic fluid is the fluid that surrounds and protects a baby during pregnancy. This fluid contains fetal cells and various proteins. Although amniocentesis can provide valuable information about your baby's health, it's important to understand the risks of amniocentesis — and be prepared for the results. Occasionally, amniocentesis is used to evaluate a baby for infection or other illness. The procedure can also be done to evaluate the severity of anemia in babies who have Rh sensitization — an uncommon condition in which a mother's immune system produces antibodies against a specific protein on the surface of the baby's blood cells. Amniocentesis can collect DNA from the fetus that can then be compared to DNA from the potential father.
So the correct option is 'taking out amniotic fluid near the fetus'.