Folic acid is commonly taken as a dietary supplement. Pregnant women can take the vitamin folic acid to prevent certain birth defects in their babies.