The entire system the heart, arteries, veins, capillaries has a common lining, which consists of a single layer of cells forming theĀ endothelium.
In the capillaries this single layer of cells forms the entire wall.
In the heart, arteries and veins the endothelium is invested with accessory coat of muscle and connective tissue.