The pancreas lies deep in the abdominal cavity, resting onthe posterior abdominal wall.In cystic fibrosis, a thick mucus blocksthe pancreatic duct, and the patient must take supplementalpancreatic enzymes by mouth for proper digestion to occur.As an endocrine gland, it secretes insulinand glucagon, hormones that help keep the blood glucoselevel within normal limits.It is an elongated and somewhat flattened organ that has both an endocrine and anexocrine function.