A method for producing autonomously contractile heart muscle cells by cultivating and differentiating stem cells obtained from differentiated exocrine gland tissue of an organism is described. Various uses of the heart muscle cells, in particular in regenerative medicine, are also described.