What does the myocardium do?

The myocardium is the thickest layer of the heart made of contractile muscles that pumps blood.