The answer is intercalated discs. They allow the heart muscle cells to function as one organ due to a phenomenon known as syncytium. This is where uninuclear cells fuse to form an apparent multinucleate cell. This way the heart muscle cells can contract in synch. Intercalated discs appear in the sarcomere's (of the muscle fibres) Z line.