The integumentary system is the answer. It consists of the skin , hair, nails, glands and nerves.
Its main function is to act as a barrier from the elements of the outside world which include disease causing agents and harmful UV rays from the sun.
It also functions to retain body fluids, eliminate waste products and regulate body temperature.
The integumentary system works with all the other systems of the body to maintain internal conditions of the body needed for proper functioning.