The heart is primarily made of a thick muscle layer, called the myocardium, surrounded by membranes. One-way valves separate the four chambers. After blood passes through the pulmonary arteries, the right semi lunar valves close preventing the blood from flowing backwards into the right ventricle.