The skin is the largest organ of the body and acts as a protective barrier. It has three layers - the epidermis, dermis and fatty layer. The skin protects the body from damage, regulates temperature and moisture, produces vitamin D, and detects sensations like touch, temperature and pain. When injured, the skin repairs through processes like scabbing, bruising and wound healing. The skin works to maintain homeostasis by regulating the internal environment and working with other body systems.