Jejunum
The jejunum lies between the duodenum and the ileum and is considered to start at the suspensory muscle of the duodenum, a location called the duodenojejunal flexure. The division between the jejunum and ileum is not anatomically distinct due to the fact that in adult humans, the small intestine is usually 6-7m long, about two-fifths of which (2.5 m) is the jejunum.
Ileum
The ileum is the short termi of the small intestine and the connection to the large intestine. It is suspended by the caudal part of the mesentery (mesoileum) and is attached, in addition, to the cecum by the ileocecal fold. The ileum terminates at the cecocolic junction of the large intestine forming the ileal orifice. In the dog the ileal orifice is located at the level of the first or second lumbar vertebra, in the ox in the level of the fourth lumbar vertebrae, in the sheep and goat at the level of the caudal point of the costal arch. By active muscular contraction of the ileum, and closure of the ileal opening as a result of engorgement, the ileum prevents the backflow of ingesta and the equalization of pressure between jejunum and the base of the cecum. Disturbance of this sensitive balance is not uncommon and is one of the causes of colic in horses. During any intestinal surgery, for instance, during appendectomy, distal 2 feet of ileum should be checked for the presence of Meckel's diverticulum.