Dermis is defined as the inner layer of skin that contains nerve endings and receptors.