The dark red-staining downward extensions of the epidermis are the epidermal pegs. The pale-staining upward extensions of the dermis are the dermal papillae.

The dermal papillae and the superficial dermis are in the papillary layer of the dermis.

The secretory portions of the sweat glands are in the reticular layer which takes up most of the dermis and is deep to the papillary layer.

 

The sweat glands are labeled SW.