Myogenesis is the formation of muscle tissue during embryonic development from stem cells in the mesoderm.