The skin is the largest organ of the body and is composed of two layers - the epidermis and dermis. The epidermis is the outer layer and the dermis is underneath. The thickness of the skin varies in different parts of the body. The skin has important functions including protection, temperature regulation through sweat and blood flow, sensation, and excretion of wastes.