The answer is the detection of heat and touch. The integumentary system consists of the skin, nails, glands, hairs, and nerves. The nerves are responsible for sensing stimuli including pressure, heat, and touch. Another example of its function is acting as a physical barrier against harmful microorganisms and excretion.