"Human Locomotion and Heat Loss: An Evolutionary Perspective"

Why did sweat glands evolve and how are human sweat glands different from other animals? Are there other mechanisms that animals use that perform the same function as sweat glands?