The hair shaft is the visible part of the hair that extends above the skin's surface. It is composed of dead, keratinized cells that have been pushed up from the hair follicle. The primary role of the hair shaft is to provide protection and sensory input to the body.