Small glands in the dermis that produce sweat, which regulates body temperature and helps to remove waste from the body.