Do pigs sweat?
It is a myth that pigs do not have sweat glands. They have a few, but not enough to effectively regulate their body temperatures (as all mammals must) when temperatures rise.
So, that’s why on a hot day you’ll see swine rolling around in the water and mud.