The umbilical cord is a flexible cord that connects a baby in the womb to its mother. It runs from an opening in the babys stomach to the placenta in the womb. The average length of the cord is about 50cm (20 inches).