You are using your laptop for playing games it will happen if your laptop configuration is not match with games recommended soft requirements.
You should avoid to play games on your laptop continuously.
But it is not the one thing that may cause laptop heating, Your laptop need some service I think. Means you need to clean your laptop vents and fan also.
So, you can reduce laptop heating and may increase your laptop performances as well.