The innermost of the three germ layers of the gastrula; develops into the epithelium of the pharynx, respiratory tract, digestive tract, bladder, and urethra.