Nimendra123 wrote:
When I charge the mac while I’m using it the charger becomes extremely hot to touch. The cable does not seem damaged and neither does the macbook any ideas why and what I should do?
https://discussions.apple.com/content/attachment/9feea843-7765-4f1e-a443-92d3c9f29741
https://discussions.apple.com/content/attachment/57c7a4cb-af05-466a-b896-feff3f3333cd
Pins 2 and 4 look a bit charred (1st image.)
A worn out DC-in board can cause your issue. This is a stand alone replacement part. If it is the cause a brand new magasafe charger may temporarily resolve the issue— however will soon wear out as well...
the DC-inboard in the 2nd image looks better.
If that is a third party— try a Apple branded magsafe charger and compare your results:
Find the right power adapter and cable for your Mac notebook ...
Identify your Mac power adapter - Apple Support
Apple or AASP can test both.
Learn how to get your Mac fixed and how much it will cost. Mac Repair Service Mac Repair & Service - Apple Support
Get your Mac ready for service - Apple Support Get your Mac ready for service - Apple Support