Endocarditis is an inflammation of the heart's inner lining. This lining is called the endocardium. The condition is also called infective endocarditis, or IE.