Heatsinks are mechanical parts made of standard or specific profiles.
It is used for thermal management of electric components of any sizes (mainly cooling).
It dissipates heat by conduction and radiation.
To be efficient, the heatsinks must be interfaced with a thermal interface or a thermal paste.