Functions of the integumentary system include protection against physical injury, pathogens, UV radiation, water loss, and temperature extremes; regulation of body temperature through sweating or vasoconstriction/vasodilation; sensation of touch, pain, pressure, vibration, and temperature; secretion of sebum to lubricate skin and prevent dehydration; excretion of waste products such as urea and lactic acid; synthesis of vitamin D from cholesterol when exposed to sunlight; and storage of fatty acids and energy reserves.