The umbilical cord is a flexible structure that contains blood vessels. During pregnancy, the cord connects the developing baby to his or her mother.