How does the integumentary system function