Pancreatitis is an inflammation or infection of the pancreas. The pancreas is located behind the stomach. It releases the hormones insulin and glucagon and substances that help with digestion.