As using the device also uses some power, the device cannot "charge with the normal speed" at the same time. It will however primarily use the external power source for its consumption. Depending on whether you "consume" more power than the source can feed, either it compensates by taking whatever is needed additionally from the battery, or feeds whatever is left to it.
A side effect described in the other answers already is true, however: the device will get "warmer" this way. I already described that in another answer:
Recommendation for cold days to get warm fingers: Take your device with both hands, plug in the charger. Now stream a HD video from youtube via 3G, play it fullsize, and in the background do some video recording which in parallel gets uploaded via 3G. CAREFUL !!! Wear gloves... #-)