NIPS works by collecting a blood sample from the pregnant woman. The sample is then analyzed to detect fragments of fetal DNA, which are used to screen for chromosomal abnormalities such as Down syndrome, Edwards syndrome, and Patau syndrome. The test can be performed as early as the 10th week of pregnancy.