Can be extremely dangerous. While you plug your phone to charger, it gets heated. And if if you use phone for a long time, it will add more temperature to phone. And high temperature causes the battery to explode. This is one reason and there are many others. So it's better to avoid phone while charging. But yes atleast you can answer one or two sms.