The endoderm is the innermost layer of cells in the blastula that gives rise to the digestive system and some internal organs in a vertebrate. It is one of the three primary layers in embryonic development in vertebrates, along with the ectoderm and mesoderm.