They attach the heart to other parts of the body and they lubricate the heart. Now let's move on to the actual heart itself. So if we examine this red segment of the heart, this segment actually consists of three individual layers. So the heart can be divided into three layers. We have the epicardium, the outermost layer. We have the myocardium, the middle layer, and we have the inner layer of the heart known as the endocardium.