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.
Galaxy Note 8 vs iPhone X
Graphic tees: 14 best websites to find your next T-shirt
How to update iOS on iPhone or iPad
Les meilleures applications pour enfants 2017