Almost all of the cells in a multicellular organism will contain the same genetic information (the same genes or alleles), but depending on what role a particular cell needs to have, only some of the genes in a particular cell are used/expressed to control its development.
Stem cells from embryos created in this way are not rejected by the patient’s body so they may be used for medical treatment without the patient having to take drugs to suppress their immune system.