Mobile gets heated while kept on charging

Mobile gets heated while charging and while using camera app.Is it normal or there is any issue in mobile ?