a heat sink
A heat sink is the finned metal block bolted to a hot component to carry its heat away into the air before the component cooks itself. A power transistor or linear regulator wastes energy as heat in a tiny chip; left alone, that chip's temperature climbs until it fails. The heat sink gives the heat a large surface to escape from — like spreading a hot dish across a wide cool tray instead of leaving it in a small cup, so it sheds warmth far faster.
The flow of heat is modelled just like Ohm's law for current, with temperature difference playing the role of voltage and thermal resistance (in degrees C per watt) the role of resistance. The chip's temperature equals the ambient temperature plus the power dissipated times the total thermal resistance from junction to air: Tj = Tamb + P times (Rjc + Rcs + Rsa), the three resistances being junction-to-case, case-to-sink (through the insulating pad and grease), and sink-to-air. Example: dissipating 5 W into a sink path totalling 8 °C/W from a 25 °C room gives a junction at 25 + 5 times 8 = 65 °C — safe. Halve the heat sink's effectiveness (double Rsa) and the chip may exceed its 125 to 150 °C limit and shut down or die.
Why it matters: thermal design is where many linear-regulator and power circuits live or die. You compute the worst-case dissipation, look up the chip's maximum junction temperature, and choose a heat sink whose thermal resistance keeps you safely below it with margin, often derating to 80 percent of the limit. Honest details: the insulating pad and the thin film of thermal grease both add thermal resistance, still air is far worse than moving air (a fan transforms a sink), and a heat sink that is too small simply lets the part run hot and age fast.
A 7805 dropping 12 V to 5 V at 0.8 A burns (12 - 5) times 0.8 = 5.6 W. With no heat sink its junction-to-air resistance is about 65 °C/W, so it would try to reach 25 + 5.6 times 65 = 389 °C and instantly hit thermal shutdown. Bolt on a 5 °C/W sink (plus ~2 °C/W junction and pad) and the junction settles near 25 + 5.6 times 7 = 64 °C.
Thermal resistance is like Ohm's law: Tj = Tamb + P times R(thermal).
Thermal grease and an insulating pad are part of the path, not afterthoughts: a dry or misapplied joint can add several °C/W and undo a good sink. And many regulator tabs are electrically live (often the output or ground), so an insulating washer is needed to bolt them to a shared metal chassis.