Bacterial endocarditis is an infection of the lining of the heart. It happens when bacteria (germs) enters the blood and gets inside the heart.
A normal heart has a smooth lining, making it difficult for bacteria to stick to it. However, a kid with congenital heart disease may have a rough area on the heart lining or material placed in the heart. Bacteria like to grow and multiply on these rough spots.