Folic acid is essential in preventing neural tube defects, such as spina bifida and anencephaly. Pregnant women are advised to take a folic acid supplement and consume foods rich in folate. This nutrient is crucial during the first trimester when the neural tube is forming.