The ectoderm is the outermost layer of cells of a eukaryote or the outermost layer of cells in the developing embryo once it has reached the gastrula stage. This cell layer ultimately gives rise to nervous tissue, skin, mammary glands, pituitary gland, and enamel of the teeth.