The yolk sac functions to form blood cells in early development. provide nutrients to the fetus when the umbilical cord is disconnected. store metabolic wastes until the fetus is born. give rise to the primary germ layers.