Unless it's relatively new, most likely inside is clogged up with dust around the heat sink and fans. If you google you'll find lots of tutorials on how to go about giving it a good clean.
Surprising what a difference it can make.
Samsung Galaxy S9 review
Adobe price increase confuses customers
What to expect at Apple's 27 March education event
Comment filmer l’écran d’un iPhone ?