Heat depends on 2-3 factors:
- OS optimisation (Major cause of battery and heating issues)
- The type of usage, if you face heating in basic tasks its either the above or below point
- If you have an Exynos or Snapdragon 810
Other things that matter:
The body of the phone, glass retains heat...