Fact 1: Mammals have a layer of fat under the skin to help insulate the body. 
Fact 2: When stored in the body, fat helps maintain body temperature by acting as an insulator.
Mammals have body fat to help maintain body temperature.