Mesoderm is the middle embryonic germ layer that gives rise to connective tissues, bones, muscles, and the circulatory system. Ectoderm primarily forms the nervous system and skin epidermis, while endoderm forms the epithelial linings of the digestive and respiratory tracts.