It is to allow the sweat to evaporate and cool the body properly.
(It; is; to allow the sweat to evaporate and cool the body properly) (the sweat; to cool properly; the body)
It the sweat
is to cool properly
to allow the sweat to evaporate and cool the body properly
the body