one way is by generating heat that helps maintain body
They produce heat when they contract
Muscles play a few parts in maintaining homeostasis. When we become cold, we shiver to try and generate heat energy to keep our bodies warm (this is thermoregulation). Thermoregulation is also carried out by the tiny hair muscles that make them stand on end to trap a layer of air over our skin.
Muscles are made up of around 2% glycogen. Glycogen is a sugar
and this is stored in the liver and muscles for when it is needed
to create energy in respiration.
skeletal muscle contactions help maintain body temperature