Amniocentesis is a prenatal diagnostic test involving the removal of a small amount of amniotic fluid from the uterus. It helps detect genetic disorders, neural tube defects, and other fetal conditions. Guiding treatment decisions, it carries a slight risk of complications and is typically performed in the second trimester.