Shivering generates body heat through rapid, involuntary muscle contractions. These contractions increase metabolic activity and friction within muscle tissues, producing heat as a byproduct that helps raise body temperature in cold conditions and maintain core thermal balance.