Myocarditis is an inflammation of the heart muscle that can result from viral infections, autoimmune diseases, or other causes. It may cause chest pain, shortness of breath, and irregular heartbeat, and requires medical evaluation to assess heart function and prevent serious complications.