The liver and pancreas are two essential organs that have multiple functions. Both have ducts that secrete special chemicals into the intestine that aid in digestion. They are next to each other anatomically and a disease of one can sometimes affect the health of the other.