The heart consists of layers such as the endocardium (inner layer) and epicardium (outer layer). Myofibrils and myofilaments are structures inside the muscle fibers, but they are not separate layers of the heart.