The endoderm is the innermost germ layer of an animal embryo. It gives rise to the digestive tract including the liver, pancreas, stomach and intestines, as well as the respiratory tract including the trachea and lungs.