The sac that contains the heart, consisting of the parietal layer (dense, fibrous connective tissue) and the visceral layer (serous membrane), which produces serous fluid to lubricate the heart and maintains a hollow space (pericardial cavity) for the heart to expand into.