The correct option is D Digestive system
The epithelial lining of the whole of the digestive tube is derived from endoderm except part of the mouth and the pharynx, which are lined by the ectoderm. The mesoderm derives the lining of the gut wall.
Thus, the correct answer is 'Digestive system'.