Pericarditis is inflammation of the pericardial sac surrounding the heart that causes chest pain. It can be caused by viruses, bacteria, fungi, uremia, myocardial infarction, or autoimmune disorders. Symptoms include chest pain worsened by deep breathing or lying down, fever, and potential heart failure from fluid buildup or tamponade. Diagnosis involves patient history, physical exam for rubs, ECG changes, imaging like echocardiogram, and labs. Treatment focuses on identifying and treating the underlying cause with rest, drainage procedures, antibiotics, anti-inflammatories, and steroids along with pain management and monitoring for complications like cardiac tamponade.