The umbilical cord is a tube-like structure that connects a developing fetus to the placenta during pregnancy. It serves as a lifeline, providing oxygen and nutrients to the fetus while removing waste products. The cord typically contains two arteries and one vein encased in a gelatinous substance called Wharton's jelly.