The endocardium is the innermost layer of tissue that lines the chambers of the heart. Its cells are embryologically and biologically similar to the endothelial cells that line blood vessels. The endocardium also provides protection to the valves and heart chambers.