The specific function of the cardiac muscle is to control the contraction and relaxation of the heart.Cardiac muscle (heart muscle) is an involuntary, striated muscle that is found in the walls and histological foundation of the heart, specifically the myocardium.