Myocardium is the middle and largest of the three layers of the heart wall composed of cardiac muscle.