The ileum is the short terminal part of the small intestine and forms the connection to the large intestine.