The skin has two main layers - the epidermis and dermis. The epidermis is the outermost layer and provides a protective barrier. It has five layers including the stratum corneum. The dermis lies beneath and contains tough connective tissue, hair follicles, and sweat glands. It consists of two layers - the papillary and reticular layers. Skin appendages like hair follicles, sebaceous glands, and sweat glands develop at the epidermal-dermal junction. Hair has a root that goes deep in the dermis and a shaft that projects out. Sweat glands secrete sweat which helps cool the body and remove waste.