Pericarditis is the inflammation of the of the pericardium, the membrane enclosing the heart and the large blood vessels connected to the heart, consisting of outer and inner layers. In between the two layers is a small amount (15-50 milliliters) of clear, yellow fluid that reduces friction and allows the heart to beat more easily.