Now, the endoderm layer gives rise to the epithelial layer of the lungs, our digestive system, the pancreas, the bladder, the liver, and it also forms the thyroid and the parathyroid gland as well as the thymus.