Part find and help what it is

Looking for what this part is

the blCk square piece on the heat sink it has six legs two burnt off. What is this ans can I get a part number

Hello,
Welcome to the DigiKey TechForum. I’m not able to identify the part based on the photo provided. Are there any part markings visible on the part, is there a schematic available that may give a part description?

It is a 12 V Milwaukee charger for the 12 V battery. Only so I don’t have the schematic, and I don’t see any markings on it.

Ok thanks for the information. I am not able to identify the part in question, sorry.