The dermis, the skin's next layer, is a thick layer of fibrous and elastic tissue (made mostly of collagen, elastin, and fibrillin) that gives the skin its flexibility and strength. The dermis contains nerve endings, sweat glands and oil (sebaceous) glands, hair follicles, and blood vessels.