Pigs and elephants use it to cool themselves in hot weather . Some people enjoy making mud pies out of mud . Other animals , such as pigs and elephants , bathe in mud in order to cool off and protect themselves from the sun .