What role does skin play in the excretory system?

Excretion removes heat by way of your skin

Metabolism is chemical reactions which produce heat. This heat must be removed from the body. The blood and sweat move that heat out of your core to the external environment using the skin as its conduit.