Pericarditis is inflammation of the sac around the heart, called the pericardium. If pericarditis becomes chronic, it can lead to pericardial effusion. This is when the pericardium fills with fluid.