The gut is an endoderm-derived structure. At approximately the sixteenth day of human development, the embryo begins to fold ventrally (with the embryo's ventral surface becoming concave) in two directions: the sides of the embryo fold in on each other and the head and tail fold toward one another. The result is that a piece of the yolk sac, an endoderm-lined structure in contact with the ventral aspect of the embryo, begins to be pinched off to become the primitive gut. The yolk sac remains connected to the gut tube via the vitelline duct. Usually, this structure regresses during development; in cases where it does not, it is known as Meckel's diverticulum.