The appendix is a worm-like structure extending from the large intestine close to where it connects to the ileum.