The ectoderm layer gives rise to the nervous system, including neurons, and also forms the epidermis of the skin.