What is the function of the umbilical cord in a mammalian fetus?

The main function of the umbilical cord in a mammalian fetus is to carry nourishment and oxygen to the fetus from the mother's placenta, and to carry waste products from the fetus to the placenta. The umbilical cord is the source of connection from the placenta to the fetus.