A specialized structure inside the skin called the papilla produces hair. A sac-like structure called the follicle surrounds the papilla and the rest of the hair root that is under the skin.