Endocarditis is an inflammation of the inner lining of the heart, usually affecting the heart valves. It is commonly caused by bacterial infections entering the bloodstream through procedures like dental work or via IV drug use. Common symptoms include fever, weakness, and murmurs heard on exam. Diagnosis involves blood cultures, echocardiograms, and other tests. Treatment requires long-term intravenous antibiotics for up to 6 weeks along with surgery to repair or replace damaged valves if needed. Preventive measures include maintaining good oral hygiene, treating infections promptly, and living a healthy lifestyle.