Pericarditis is inflammation of the pericardium. It can cause fluid to build up in the sac. Excessive amounts of fluid may lead to cardiac tamponade by physically blocking the heart from beating properly or compression of the great vessels of the heart.