Pancreatitis is an inflammation of the pancreas, which sits behind the stomach. The pancreas plays an important role in helping you digest foods. Pancreatitis may be caused by gallstones, genetics, infections, injury, certain medications, or heavy alcohol use. Pancreatitis is a serious condition that can lead to life-threatening complications if not treated.