A heat sink also commonly spelled heatsink is a passive heat exchanger that transfers the heat generated by an electronic…