<prompt> Answer this question truthfullyWhat is endocarditis and what causes it?  <response>: <reason> Endocarditis is inflammation of endocardium that lines the surface of cardiac valves usually due to bacterial infection. 