Why do we sweat?

Sweat wets your skin so evaporation can cool you down like a natural air conditioner.