all animals except sponges and those in Phylum Cnidaria (corals, hydras, jellyfish, anemones) have 3 layers of cells. These layers are the ectoderm (outer), mesoderm (middle), and endoderm (inner). These layers develop early on in the early stages of growth in embryos. This development helps sort cells into an arrangement that produces specialized tissues and organs in the adult animals. In humans, ectoderm produces skin, nervous tissue, and some sense organs. The mesoderm produces muscles, blood, kidneys, and reproductive organs. The endoderm produces lungs, liver, pancreas, bladder, and stomach lining.