The umbilical vein connects the placenta of the mother to the growing fetus's opening of the stomach. This cord connects the baby to its mother. Its primary function is to carry oxygenated blood to the fetus. The average cord is about 50cm (20 inches) long.