Folic acid helps form red blood cells and produce DNA that stores genetic codes. Taking the right amount of folic acid before and during pregnancy helps prevent neural tube defects, such as spina bifida.